public class CheckHistoryCondition extends ConditionOrAction implements Condition
| Constructor and Description |
|---|
CheckHistoryCondition()
Creates a new
CheckHistoryCondition. |
| Modifier and Type | Method and Description |
|---|---|
void |
addElse(ConditionOrAction item)
Adds a condition or action to the list of conditions/actions which should be executed
when this condition is false.
|
void |
addWhen(ConditionOrAction item)
Adds a condition or action to the list of conditions/actions which should be executed
when this condition is true.
|
Iterator<ConditionOrAction> |
elseIterator()
The returned iterator can be used to get the actions/conditions which are executed
when this condition is false.
|
int |
elseSize()
Returns the number of action/conditions which should be executed
when this condition is false.
|
int |
getDayOffset()
Returns the offset in days.
|
int |
getDisplayMessageID() |
String |
getId() |
UC4ObjectName |
getName() |
int |
getParameterMessageID() |
int |
getSkeletonMessageID() |
TaskState |
getStatus() |
Time |
getTimeOffset() |
boolean |
isAction() |
boolean |
isAfterCondition() |
boolean |
isBeforeCondition() |
boolean |
isIF() |
void |
setDayOffset(int days)
Sets the offset in days.
|
void |
setName(UC4ObjectName name) |
void |
setStatus(TaskState status) |
void |
setTimeOffset(Time timeOffset) |
Iterator<ConditionOrAction> |
whenIterator()
The returned iterator can be used to get the actions/conditions which are executed
when this condition is true.
|
int |
whenSize()
Returns the number of action/conditions which should be executed
when this condition is true.
|
copy, createActionFromId, createConditionFromId, equals, getParameter, getPromptName, getScriptName, hashCode, isActive, isOnce, isParameterAltView, setActive, setOnce, setParameterpublic CheckHistoryCondition()
CheckHistoryCondition.public void setName(UC4ObjectName name)
name - Name of the UC4 Objectpublic void setStatus(TaskState status)
status - Expected statuspublic void setDayOffset(int days)
days - Dayspublic int getDayOffset()
public void setTimeOffset(Time timeOffset)
timeOffset - satisfaction lead timepublic UC4ObjectName getName()
public TaskState getStatus()
public Time getTimeOffset()
public boolean isBeforeCondition()
isBeforeCondition in interface ConditionisBeforeCondition in class ConditionOrActionpublic boolean isAfterCondition()
isAfterCondition in interface ConditionisAfterCondition in class ConditionOrActionpublic String getId()
getId in interface ConditiongetId in class ConditionOrActionpublic void addWhen(ConditionOrAction item)
Conditionpublic void addElse(ConditionOrAction item)
Conditionpublic int whenSize()
Conditionpublic int elseSize()
Conditionpublic Iterator<ConditionOrAction> whenIterator()
Conditionjava.util.Iterator
can be used to remove conditions or actions.whenIterator in interface Conditionpublic Iterator<ConditionOrAction> elseIterator()
Conditionjava.util.Iterator
can be used to remove conditions or actions.elseIterator in interface Conditionpublic boolean isAction()
isAction in class ConditionOrActioncom.uc4.api.objects.Action or
false if the sub class is an instance of com.uc4.api.objects.Conditionpublic boolean isIF()
isIF in class ConditionOrActionpublic int getParameterMessageID()
getParameterMessageID in class ConditionOrActionpublic int getSkeletonMessageID()
getSkeletonMessageID in class ConditionOrActionpublic int getDisplayMessageID()
getDisplayMessageID in class ConditionOrActionCopyright © 2021. All rights reserved.