Enum DataFocusPolicy
- java.lang.Object
-
- java.lang.Enum<DataFocusPolicy>
-
- com.netgrif.application.engine.petrinet.domain.policies.DataFocusPolicy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DataFocusPolicy>
public enum DataFocusPolicy extends java.lang.Enum<DataFocusPolicy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTO_EMPTY_REQUIRED
MANUAL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataFocusPolicy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DataFocusPolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MANUAL
public static final DataFocusPolicy MANUAL
-
AUTO_EMPTY_REQUIRED
public static final DataFocusPolicy AUTO_EMPTY_REQUIRED
-
-
Method Detail
-
values
public static DataFocusPolicy[] 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 (DataFocusPolicy c : DataFocusPolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataFocusPolicy valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-