public abstract class AbstractScriptStep extends java.lang.Object implements ScriptStep
The basic foundation for a ScriptStep implementation. This provides a
handler for getIdentifier(). It also adds additional functionality though
setGlobalParam(String, String) and getGlobalParam(String).
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getGlobalParam(java.lang.String key)
Requests to get the global param that has been set via
setGlobalParam(String, String). |
java.lang.CharSequence |
getIdentifier()
Get the name or identifier that was provided at construction for this test step.
|
ScriptStepType |
getStepType()
Checked before step execution.
|
static java.lang.String |
removeGlobalParam(java.lang.String key)
Unset or remove a given global parameter.
|
static void |
setGlobalParam(java.lang.String key,
java.lang.String value)
Sets a global parameter.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunSteppublic static void setGlobalParam(java.lang.String key,
java.lang.String value)
getGlobalParam(String).key - Key used for retrieval latervalue - Value to be set for the given keypublic static java.lang.String removeGlobalParam(java.lang.String key)
key - Key to be removedpublic static java.lang.String getGlobalParam(java.lang.String key)
setGlobalParam(String, String). This is NOT specific to this test instance, but
rather parameters which are shared among all tests.key - Key to use for parameter lookupnull, but an empty string is possiblepublic ScriptStepType getStepType()
ScriptStepgetStepType in interface ScriptSteppublic java.lang.CharSequence getIdentifier()
ScriptStepgetIdentifier in interface ScriptStep