Enum ExecutionVisitor.ConditionTest
- java.lang.Object
-
- java.lang.Enum<ExecutionVisitor.ConditionTest>
-
- net.ssehub.easy.instantiation.core.model.common.ExecutionVisitor.ConditionTest
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ExecutionVisitor.ConditionTest>
- Enclosing class:
- ExecutionVisitor<M extends IResolvableModel<V,M>,O extends IResolvableOperation<V>,V extends VariableDeclaration,R extends Resolver<M,O,?,V>>
protected static enum ExecutionVisitor.ConditionTest extends java.lang.Enum<ExecutionVisitor.ConditionTest>
Specifies various types of artifact condition tests.- Author:
- Holger Eichelberger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DONT_CAREDon't care for specific artifact checks.EXISTSThe artifact must existIArtifact.exists().
-
Constructor Summary
Constructors Modifier Constructor Description privateConditionTest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecutionVisitor.ConditionTestvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ExecutionVisitor.ConditionTest[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXISTS
public static final ExecutionVisitor.ConditionTest EXISTS
The artifact must existIArtifact.exists().
-
DONT_CARE
public static final ExecutionVisitor.ConditionTest DONT_CARE
Don't care for specific artifact checks.
-
-
Method Detail
-
values
public static ExecutionVisitor.ConditionTest[] 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 (ExecutionVisitor.ConditionTest c : ExecutionVisitor.ConditionTest.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExecutionVisitor.ConditionTest 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
-
-