Package step.plans.nl
Enum RootArtefactType
- java.lang.Object
-
- java.lang.Enum<RootArtefactType>
-
- step.plans.nl.RootArtefactType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RootArtefactType>
public enum RootArtefactType extends java.lang.Enum<RootArtefactType>
Enumeration defining the supported root artefacts for plain-text plans. This corresponds to the selections available in the UI.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Sequence
TestCase
TestScenario
TestSet
ThreadGroup
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractArtefact
createRootArtefact()
static RootArtefactType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RootArtefactType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Sequence
public static final RootArtefactType Sequence
-
TestCase
public static final RootArtefactType TestCase
-
TestScenario
public static final RootArtefactType TestScenario
-
TestSet
public static final RootArtefactType TestSet
-
ThreadGroup
public static final RootArtefactType ThreadGroup
-
-
Method Detail
-
values
public static RootArtefactType[] 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 (RootArtefactType c : RootArtefactType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RootArtefactType 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
-
createRootArtefact
public AbstractArtefact createRootArtefact()
-
-