public class RollbackAction extends ConditionOrAction implements Action
Modifier and Type | Class and Description |
---|---|
static class |
RollbackAction.Task
Task.
|
Constructor and Description |
---|
RollbackAction()
Creates a new Rollback action.
|
Modifier and Type | Method and Description |
---|---|
int |
getDisplayMessageID() |
java.lang.String |
getId() |
int |
getParameterMessageID() |
int |
getSkeletonMessageID() |
RollbackAction.Task |
getTask()
Returns the task to rollback.
|
boolean |
isAction() |
boolean |
isAfterCondition()
Returns
true if this action can be used in a Pre-Condition. |
boolean |
isBeforeCondition()
Returns
true if this action can be used in a Post-Condition. |
boolean |
isFinal()
Returns
true if this is a final action in
this condition. |
boolean |
isIF() |
void |
setTask(RollbackAction.Task task)
Sets the task to rollback.
|
void |
setTask(java.lang.String task)
Sets the task to rollback.
|
copy, createActionFromId, createConditionFromId, equals, getParameter, getPromptName, getScriptName, hashCode, isActive, isOnce, isParameterAltView, setActive, setOnce, setParameter
public RollbackAction.Task getTask()
public void setTask(java.lang.String task)
task
- One of the enum constants defined in this class (THIS, PARENT, TOP)public void setTask(RollbackAction.Task task)
task
- One of the enum constants defined in this class (THIS, PARENT, TOP)public boolean isFinal()
Action
true
if this is a final action in
this condition.public java.lang.String getId()
getId
in interface Action
getId
in class ConditionOrAction
public boolean isAction()
isAction
in class ConditionOrAction
com.uc4.api.objects.Action
or
false if the sub class is an instance of com.uc4.api.objects.Condition
public boolean isBeforeCondition()
Action
true
if this action can be used in a Post-Condition.isBeforeCondition
in interface Action
isBeforeCondition
in class ConditionOrAction
public boolean isAfterCondition()
Action
true
if this action can be used in a Pre-Condition.isAfterCondition
in interface Action
isAfterCondition
in class ConditionOrAction
public boolean isIF()
isIF
in class ConditionOrAction
public int getParameterMessageID()
getParameterMessageID
in class ConditionOrAction
public int getSkeletonMessageID()
getSkeletonMessageID
in class ConditionOrAction
public int getDisplayMessageID()
getDisplayMessageID
in class ConditionOrAction