public enum ScriptStepType extends java.lang.Enum<ScriptStepType>
Indicates what type of step this is. Use of Maintenance and
AsyncMaintenance allows you to do operations without having the statistics and results
included in the final results. In addition the use of specifically AsyncMaintenance
allows ambush to try and reduce the impact of running the step.
| Enum Constant and Description |
|---|
AsyncMaintenance
Similar to
Maintenance this step will not have results or statistics recorded. |
Maintenance
A maintenance step indicates that the results of the step should NOT be considered in
completion statistics.
|
Normal
This indicates a normal test step.
|
| Modifier and Type | Method and Description |
|---|---|
static ScriptStepType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScriptStepType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScriptStepType Normal
public static final ScriptStepType Maintenance
AsyncMaintenance as a typically better option.public static final ScriptStepType AsyncMaintenance
Maintenance this step will not have results or statistics recorded. There
are two critical differences however with this. The first being that a failure from an async
step will NOT halt or fail the script. This is because we must mark the step as complete
before actual execution to ensure that script progression continues. The second difference
being is that this step's execution point is arbitrary. Ambush will _attempt_ to run it at a
point where the impact to other steps will be minimized. The earliest execution could start
is dependent in how it is constructed in the script step chain.public static ScriptStepType[] values()
for (ScriptStepType c : ScriptStepType.values()) System.out.println(c);
public static ScriptStepType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null