|
|||||||||
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.PerformAction
public class PerformAction
Field Summary | |
---|---|
protected java.lang.String[] |
_jvmParameterList
|
protected java.lang.String |
_location
|
protected java.lang.String |
_nameList
|
protected java.lang.String[] |
_parameterList
|
protected java.lang.String |
_runtimeId
|
protected java.lang.String |
_taskId
|
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 | |
---|---|
PerformAction(java.lang.String id,
java.lang.String runtimeId,
java.lang.String location,
java.lang.String[] parameterList,
java.lang.String[] jvmParameterList,
java.lang.String nameList)
|
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 PerformAction |
getPerformAction(Element actionElement)
|
Element |
serializeToXML()
Create an XML element which represents this action |
void |
setAssociatedRuntimeTaskId(java.lang.String runtimeId)
Set the runtime id associated with this task. |
void |
setAssociatedTaskId(java.lang.String taskId)
Sets the task id. |
void |
setJVMParameterList(java.lang.String[] parameters)
Sets the JVM parameters to be passed to this task. |
void |
setLocation(java.lang.String location)
Sets the location value associated with this action. |
void |
setParameterList(java.lang.String[] parameters)
Set the parameters to be passed to this task. |
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 |
---|
protected java.lang.String _taskId
protected java.lang.String _runtimeId
protected java.lang.String _location
protected java.lang.String[] _parameterList
protected java.lang.String[] _jvmParameterList
protected java.lang.String _nameList
Constructor Detail |
---|
public PerformAction(java.lang.String id, java.lang.String runtimeId, java.lang.String location, java.lang.String[] parameterList, java.lang.String[] jvmParameterList, java.lang.String nameList)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getAssociatedTaskId() throws NoAssociatedData
getAssociatedTaskId
in class Action
NoAssociatedData
- Thrown if there is no associated task id.public void setAssociatedTaskId(java.lang.String taskId)
taskId
- The task id to associate with this task.public java.lang.String getLocation() throws NoAssociatedData
getLocation
in class Action
NoAssociatedData
- Thrown if there is no associated task id.public void setLocation(java.lang.String location)
location
- The associated location valuepublic java.lang.String[] getParameterList() throws NoAssociatedData
getParameterList
in class Action
NoAssociatedData
- Thrown if there are no parameters for this action.public void setParameterList(java.lang.String[] parameters)
parameters
- The parameters to be passed to this task.public java.lang.String[] getJVMParameterList() throws NoAssociatedData
getJVMParameterList
in class Action
NoAssociatedData
- Thrown if there are no parameters to pass to the JVM.public void setJVMParameterList(java.lang.String[] parameters)
parameters
- The JVM parameters to be passed to this task.public java.lang.String getAssociatedRuntimeTaskId() throws NoAssociatedData
getAssociatedRuntimeTaskId
in class Action
NoAssociatedData
- Thrown if there is no associated runtime task id.public void setAssociatedRuntimeTaskId(java.lang.String runtimeId)
runtimeId
- The runtime id. to set.public java.lang.String getAssociatedNameList() throws NoAssociatedData
getAssociatedNameList
in class Action
NoAssociatedData
- Thrown if there is no associated name list.public Element serializeToXML() throws NoAssociatedData
serializeToXML
in class Action
NoAssociatedData
public static PerformAction getPerformAction(Element actionElement)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |