|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.dtf.testframework.coordinator.Action
public abstract class Action
This class is used to store information pertaining to an action performed during a test.
Field Summary | |
---|---|
int |
_actionType
|
static int |
LOCATION_ALL
|
static int |
LOCATION_DEPENDENT
|
static int |
LOCATION_INDEPENDENT
|
static int |
LOCATION_SPECIFIC
|
static java.lang.String[] |
LOCATION_STRINGS
|
static int |
PERFORM_TASK
|
static int |
START_TASK
|
static int |
TERMINATE_TASK
|
static int |
WAIT_FOR_TASK
|
Constructor Summary | |
---|---|
Action()
|
Method Summary | |
---|---|
abstract java.lang.String |
getAssociatedNameList()
Retrieves the name list for this action, throws an exception if no name list is associated with this action. |
abstract java.lang.String |
getAssociatedRuntimeTaskId()
Retrieves the associated runtime task id., if one doesn't exist an exception is thrown. |
abstract java.lang.String |
getAssociatedTaskId()
Retrieves the task id. |
abstract java.lang.String[] |
getJVMParameterList()
Retrieves the parameters to be passed to the JVM that executes this action, if no parameters are associated with this action then an exception is thrown. |
abstract java.lang.String |
getLocation()
Retrieves the location value associated with this action, if the action type doesn't have an associated location an exception is thrown. |
int |
getLocationType()
Retrieves the location type value associated with this action, if the action type doesn't have an associated location an exception is thrown. |
abstract java.lang.String[] |
getParameterList()
Retrieves the parameters to be passed to this action, if no parameters are associated with this action then an exception is thrown. |
int |
getType()
Retrieves the type of action this class represents. |
abstract Element |
serializeToXML()
Create an XML element which represents this action |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int LOCATION_INDEPENDENT
public static final int LOCATION_DEPENDENT
public static final int LOCATION_ALL
public static final int LOCATION_SPECIFIC
public static final java.lang.String[] LOCATION_STRINGS
public static final int PERFORM_TASK
public static final int START_TASK
public static final int WAIT_FOR_TASK
public static final int TERMINATE_TASK
public int _actionType
Constructor Detail |
---|
public Action()
Method Detail |
---|
public final int getType()
public abstract java.lang.String getAssociatedTaskId() throws NoAssociatedData
NoAssociatedData
- Thrown if there is no associated task id.public abstract java.lang.String getLocation() throws NoAssociatedData
NoAssociatedData
- Thrown if there is no associated task id.public final int getLocationType() throws NoAssociatedData
NoAssociatedData
- Thrown if there is no associated task id.public abstract java.lang.String[] getParameterList() throws NoAssociatedData
NoAssociatedData
- Thrown if there are no parameters for this action.public abstract java.lang.String[] getJVMParameterList() throws NoAssociatedData
NoAssociatedData
- Thrown if there are no parameters to pass to the JVM.public abstract java.lang.String getAssociatedRuntimeTaskId() throws NoAssociatedData
NoAssociatedData
- Thrown if there is no associated runtime task id.public abstract java.lang.String getAssociatedNameList() throws NoAssociatedData
NoAssociatedData
- Thrown if there is no associated name list.public abstract Element serializeToXML() throws NoAssociatedData
NoAssociatedData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |