Package de.xima.fc.mdl.enums
Enum EStandardControlTransferType
- java.lang.Object
-
- java.lang.Enum<EStandardControlTransferType>
-
- de.xima.fc.mdl.enums.EStandardControlTransferType
-
- All Implemented Interfaces:
Serializable
,Comparable<EStandardControlTransferType>
public enum EStandardControlTransferType extends Enum<EStandardControlTransferType>
Enumeration with common types for how nodes can transfer control to other nodes. A control transfer is always an abrupt completion of the initiating node.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE_BREAK
Compile-time constant for technical name ofBREAK
.static String
TYPE_CONTINUE
Compile-time constant for technical name ofCONTINUE
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EStandardControlTransferType
forTypeOrNull(String controlTransferType)
String
getType()
static EStandardControlTransferType
valueOf(String name)
Returns the enum constant of this type with the specified name.static EStandardControlTransferType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BREAK
public static final EStandardControlTransferType BREAK
Transfers control to the enclosing matching target.
-
CONTINUE
public static final EStandardControlTransferType CONTINUE
Transfers control to the enclosing matching target, and requests the node should continue with the next execution cycle of its child nodes.
-
-
Field Detail
-
TYPE_BREAK
public static final String TYPE_BREAK
Compile-time constant for technical name ofBREAK
.- See Also:
- Constant Field Values
-
TYPE_CONTINUE
public static final String TYPE_CONTINUE
Compile-time constant for technical name ofCONTINUE
.- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static EStandardControlTransferType[] 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 (EStandardControlTransferType c : EStandardControlTransferType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EStandardControlTransferType 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
-
getType
public String getType()
- Returns:
- The technical name of this type.
-
forTypeOrNull
public static EStandardControlTransferType forTypeOrNull(String controlTransferType)
- Parameters:
controlTransferType
- AgetType()
of a standard control transfer type.- Returns:
- The corresponding enum constants, or
null
if no such constant exists.
-
-