|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dtf.testframework.coordinator.Action
org.jboss.dtf.testframework.coordinator.actions.TerminateAction
public class TerminateAction
| Field Summary | |
|---|---|
protected java.lang.String |
_runtimeId
|
static java.lang.String |
TERMINATE_TASK_NAME
|
| Fields inherited from class org.jboss.dtf.testframework.coordinator.Action |
|---|
_actionType, LOCATION_ALL, LOCATION_DEPENDENT, LOCATION_INDEPENDENT, LOCATION_SPECIFIC, LOCATION_STRINGS, PERFORM_TASK, START_TASK, TERMINATE_TASK, WAIT_FOR_TASK |
| Constructor Summary | |
|---|---|
TerminateAction(java.lang.String runtimeId)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAssociatedNameList()
Retrieves the name list for this action, throws an exception if no name list is associated with this action. |
java.lang.String |
getAssociatedRuntimeTaskId()
Retrieves the associated runtime task id., if one doesn't exist an exception is thrown. |
java.lang.String |
getAssociatedTaskId()
Retrieves the task id. |
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. |
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. |
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. |
static TerminateAction |
getTerminateAction(Element actionElement)
|
Element |
serializeToXML()
Create an XML element which represents this action |
void |
setAssociatedRuntimeTaskId(java.lang.String runtimeId)
|
java.lang.String |
toString()
|
| Methods inherited from class org.jboss.dtf.testframework.coordinator.Action |
|---|
getLocationType, getType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TERMINATE_TASK_NAME
protected java.lang.String _runtimeId
| Constructor Detail |
|---|
public TerminateAction(java.lang.String runtimeId)
| Method Detail |
|---|
public java.lang.String getAssociatedTaskId()
throws NoAssociatedData
getAssociatedTaskId in class ActionNoAssociatedData - Thrown if there is no associated task id.
public java.lang.String getLocation()
throws NoAssociatedData
getLocation in class ActionNoAssociatedData - Thrown if there is no associated task id.
public java.lang.String[] getParameterList()
throws NoAssociatedData
getParameterList in class ActionNoAssociatedData - Thrown if there are no parameters for this action.
public java.lang.String[] getJVMParameterList()
throws NoAssociatedData
getJVMParameterList in class ActionNoAssociatedData - Thrown if there are no parameters to pass to the JVM.
public java.lang.String getAssociatedRuntimeTaskId()
throws NoAssociatedData
getAssociatedRuntimeTaskId in class ActionNoAssociatedData - Thrown if there is no associated runtime task id.public void setAssociatedRuntimeTaskId(java.lang.String runtimeId)
public java.lang.String getAssociatedNameList()
throws NoAssociatedData
getAssociatedNameList in class ActionNoAssociatedData - Thrown if there is no associated name list.public java.lang.String toString()
toString in class java.lang.Object
public Element serializeToXML()
throws NoAssociatedData
serializeToXML in class ActionNoAssociatedDatapublic static TerminateAction getTerminateAction(Element actionElement)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||