Enum ActivityStatePersistenceType

  • All Implemented Interfaces:
    Serializable, Comparable<ActivityStatePersistenceType>

    public enum ActivityStatePersistenceType
    extends Enum<ActivityStatePersistenceType>

    Java class for ActivityStatePersistenceType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="ActivityStatePersistenceType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="perpetual"/>
         <enumeration value="perpetualExceptStatistics"/>
         <enumeration value="singleRealization"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • PERPETUAL_EXCEPT_STATISTICS

        public static final ActivityStatePersistenceType PERPETUAL_EXCEPT_STATISTICS
        The state should be preserved across activity realizations.
      • SINGLE_REALIZATION

        public static final ActivityStatePersistenceType SINGLE_REALIZATION
        The state should be preserved for single activity realizations. This is the default.
    • Method Detail

      • values

        public static ActivityStatePersistenceType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ActivityStatePersistenceType c : ActivityStatePersistenceType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ActivityStatePersistenceType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()