Enum AutomaticStopCriteria
- java.lang.Object
-
- java.lang.Enum<AutomaticStopCriteria>
-
- com.facilita.fc.runtime.backgroundScripting.AutomaticStopCriteria
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AutomaticStopCriteria>
public enum AutomaticStopCriteria extends java.lang.Enum<AutomaticStopCriteria>
This enumeration is used to control automatic background script stop behaviour.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AutomaticStopCriteria
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AutomaticStopCriteria[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RequestToStopAtEndOfIteration
public static final AutomaticStopCriteria RequestToStopAtEndOfIteration
-
StopImmediatelyAtEndOfIteration
public static final AutomaticStopCriteria StopImmediatelyAtEndOfIteration
-
RequestToStopAtEndOfScript
public static final AutomaticStopCriteria RequestToStopAtEndOfScript
-
StopImmediatelyAtEndOfScript
public static final AutomaticStopCriteria StopImmediatelyAtEndOfScript
-
RequestToStopAtEndOfVirtualUser
public static final AutomaticStopCriteria RequestToStopAtEndOfVirtualUser
-
StopImmediatelyAtEndOfVirtualUser
public static final AutomaticStopCriteria StopImmediatelyAtEndOfVirtualUser
-
NeverStopAutomatically
public static final AutomaticStopCriteria NeverStopAutomatically
-
-
Method Detail
-
values
public static AutomaticStopCriteria[] 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 (AutomaticStopCriteria c : AutomaticStopCriteria.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutomaticStopCriteria 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
-
-