public abstract class Action extends XMLCommand
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FAULT_ID |
static java.lang.String |
RESPONSE_ID |
| Constructor and Description |
|---|
Action(MboRemote mbo,
org.jdom.Element actionElem,
java.util.Map<java.lang.String,java.lang.Object> context,
TestDataSource testDataSource) |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
doAction()
Method that would contain the action implementation.
|
MboRemote |
getMbo() |
java.lang.String |
getResponseId() |
boolean |
isIgnoreFault() |
boolean |
isRefetch() |
boolean |
isTxEnd() |
MboRemote |
refetch() |
asBoolean, asBoolean, asDate, asDouble, asFloat, asInteger, asInteger, asLong, getContextParam, getFlag, isContextParam, toStringpublic static final java.lang.String FAULT_ID
public static final java.lang.String RESPONSE_ID
public Action(MboRemote mbo, org.jdom.Element actionElem, java.util.Map<java.lang.String,java.lang.Object> context, TestDataSource testDataSource) throws TestSetupException
mbo - Mbo on which to act onactionElem - the xml element that reresents the actioncontext - the execution context for the test casetestDataSource - the TestDataSource handle to load TestData'sTestSetupExceptionpublic boolean isRefetch()
public boolean isTxEnd()
public java.lang.String getResponseId()
public boolean isIgnoreFault()
public abstract java.lang.Object doAction()
throws java.lang.Exception
java.lang.Exceptionpublic MboRemote getMbo() throws java.lang.Exception
java.lang.Exceptionpublic MboRemote refetch() throws MXException
MXException