public class MethodAction extends Action
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BOOLEAN |
static java.lang.String |
BYTE |
static java.lang.String |
DOUBLE |
static java.lang.String |
FLOAT |
static java.lang.String |
INT |
static java.lang.String |
LONG |
static java.lang.String |
METHOD_FAULT |
static java.lang.String |
METHOD_RESPONSE |
static java.lang.String |
SHORT |
FAULT_ID, mbo, refetch, RESPONSE_ID, responseId, txendcommandElement, context, testDataSource| Constructor and Description |
|---|
MethodAction(MboRemote mbo,
org.jdom2.Element actionElem,
java.util.Map context,
TestDataSource testDataSource) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
doAction()
Method that would contain the action implementation.
|
protected java.lang.Class |
getPrimitiveClass(java.lang.String type) |
protected boolean |
hasResponse() |
protected boolean |
isPrimitiveType(java.lang.String type) |
java.lang.String |
toString() |
generateRelationName, getMbo, getResponseId, isIgnoreFault, isRefetch, isTxEnd, loadMbo, refetchasBoolean, asBoolean, asDate, asDouble, asFloat, asInteger, asInteger, asLong, generateRandomValue, getContextParam, getFlag, getMboUniqueIdString, isContextParam, isNullpublic static final java.lang.String METHOD_RESPONSE
public static final java.lang.String METHOD_FAULT
public static final java.lang.String INT
public static final java.lang.String DOUBLE
public static final java.lang.String FLOAT
public static final java.lang.String LONG
public static final java.lang.String BYTE
public static final java.lang.String BOOLEAN
public static final java.lang.String SHORT
public MethodAction(MboRemote mbo, org.jdom2.Element actionElem, java.util.Map context, TestDataSource testDataSource) throws TestSetupException
TestSetupExceptionpublic java.lang.Object doAction()
throws java.lang.Exception
Actionprotected boolean isPrimitiveType(java.lang.String type)
protected java.lang.Class getPrimitiveClass(java.lang.String type)
protected boolean hasResponse()
hasResponse in class Actionpublic java.lang.String toString()
toString in class XMLCommand