Package org.bonitasoft.web.client.model
Enum ActivityVariable.ContainerTypeEnum
- java.lang.Object
-
- java.lang.Enum<ActivityVariable.ContainerTypeEnum>
-
- org.bonitasoft.web.client.model.ActivityVariable.ContainerTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ActivityVariable.ContainerTypeEnum>
- Enclosing class:
- ActivityVariable
public static enum ActivityVariable.ContainerTypeEnum extends Enum<ActivityVariable.ContainerTypeEnum>
ACTIVITY_INSTANCE | PROCESS_INSTANCE depending on whether the variable is defined at activity or process level.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVITY_INSTANCEPROCESS_INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActivityVariable.ContainerTypeEnumfromValue(String value)StringgetValue()StringtoString()static ActivityVariable.ContainerTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ActivityVariable.ContainerTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVITY_INSTANCE
public static final ActivityVariable.ContainerTypeEnum ACTIVITY_INSTANCE
-
PROCESS_INSTANCE
public static final ActivityVariable.ContainerTypeEnum PROCESS_INSTANCE
-
-
Method Detail
-
values
public static ActivityVariable.ContainerTypeEnum[] 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 (ActivityVariable.ContainerTypeEnum c : ActivityVariable.ContainerTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivityVariable.ContainerTypeEnum 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 nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ActivityVariable.ContainerTypeEnum>
-
fromValue
public static ActivityVariable.ContainerTypeEnum fromValue(String value)
-
-