Package com.uc4.api.objects
Class ReEvaluateAtAction
java.lang.Object
com.uc4.api.objects.ConditionOrAction
com.uc4.api.objects.ReEvaluateAtAction
- All Implemented Interfaces:
Action
Exits current evaluation cycle.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getDays()
Return the number of days which are added the next evaluation time.int
getId()
int
int
getTime()
boolean
isAction()
boolean
Returnstrue
if this action can be used in a Pre-Condition.boolean
Returnstrue
if this action can be used in a Post-Condition.boolean
isFinal()
Returnstrue
if this is a final action in this condition.boolean
isIF()
void
setDays
(int days) Adds the specified number of days to the next evaluation time The parameter must be an integer between 0 and 99.void
Methods inherited from class com.uc4.api.objects.ConditionOrAction
copy, createActionFromId, createConditionFromId, equals, getParameter, getPromptName, getScriptName, hashCode, isActive, isOnce, isParameterAltView, setActive, setOnce, setParameter
-
Constructor Details
-
ReEvaluateAtAction
public ReEvaluateAtAction()Creates a newReEvaluateAtAction
.
-
-
Method Details
-
setDays
public void setDays(int days) Adds the specified number of days to the next evaluation time The parameter must be an integer between 0 and 99.- Parameters:
days
- Day offset
-
getDays
public int getDays()Return the number of days which are added the next evaluation time.- Returns:
- Day offset
-
setTime
- Parameters:
time
- Evaluation time
-
getTime
- Returns:
- Evaluation time
-
isFinal
public boolean isFinal()Description copied from interface:Action
Returnstrue
if this is a final action in this condition. -
getId
- Specified by:
getId
in interfaceAction
- Specified by:
getId
in classConditionOrAction
- Returns:
- ID of the condition or action
-
isBeforeCondition
public boolean isBeforeCondition()Description copied from interface:Action
Returnstrue
if this action can be used in a Post-Condition.- Specified by:
isBeforeCondition
in interfaceAction
- Specified by:
isBeforeCondition
in classConditionOrAction
- Returns:
- true if the action/condition is allowed on the "Pre-Condition" tab
-
isAfterCondition
public boolean isAfterCondition()Description copied from interface:Action
Returnstrue
if this action can be used in a Pre-Condition.- Specified by:
isAfterCondition
in interfaceAction
- Specified by:
isAfterCondition
in classConditionOrAction
- Returns:
- true if the action/condition is allowed on the "Post-Condition" tab
-
isAction
public boolean isAction()- Specified by:
isAction
in classConditionOrAction
- Returns:
- true if the sub class is an instance of
com.uc4.api.objects.Action
or false if the sub class is an instance ofcom.uc4.api.objects.Condition
-
isIF
public boolean isIF()- Specified by:
isIF
in classConditionOrAction
- Returns:
- true if the action/condition is allowed in the condition of an IF workflow
-
getParameterMessageID
public int getParameterMessageID()- Specified by:
getParameterMessageID
in classConditionOrAction
- Returns:
- Message number of the parameter message
-
getSkeletonMessageID
public int getSkeletonMessageID()- Specified by:
getSkeletonMessageID
in classConditionOrAction
- Returns:
- Message number of this condition or action
-
getDisplayMessageID
public int getDisplayMessageID()- Specified by:
getDisplayMessageID
in classConditionOrAction
- Returns:
- Message number for displaying this condition
-