public abstract class Action extends XMLCommand
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
FAULT_ID |
protected MboRemote |
mbo |
protected boolean |
refetch |
static java.lang.String |
RESPONSE_ID |
protected java.lang.String |
responseId |
protected boolean |
txend |
commandElement, context, testDataSource| Constructor and Description |
|---|
Action(MboRemote mbo,
org.jdom2.Element actionElem,
java.util.Map context,
TestDataSource testDataSource) |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Object |
doAction()
Method that would contain the action implementation.
|
protected java.lang.String |
generateRelationName() |
MboRemote |
getMbo() |
java.lang.String |
getResponseId() |
protected boolean |
hasResponse() |
boolean |
isIgnoreFault() |
boolean |
isRefetch() |
boolean |
isTxEnd() |
protected MboRemote |
loadMbo(MboRemote mbo) |
MboRemote |
refetch() |
asBoolean, asBoolean, asDate, asDouble, asFloat, asInteger, asInteger, asLong, generateRandomValue, getContextParam, getFlag, getMboUniqueIdString, isContextParam, isNull, toStringprotected MboRemote mbo
protected boolean refetch
protected boolean txend
public static final java.lang.String FAULT_ID
public static final java.lang.String RESPONSE_ID
protected java.lang.String responseId
public Action(MboRemote mbo, org.jdom2.Element actionElem, java.util.Map 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'sTestSetupExceptionprotected MboRemote loadMbo(MboRemote mbo) throws java.rmi.RemoteException, MXException
mbo - the Mbo to be reloadedjava.rmi.RemoteExceptionMXExceptionpublic boolean isRefetch()
public boolean isTxEnd()
protected java.lang.String generateRelationName()
public java.lang.String getResponseId()
protected boolean hasResponse()
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