public class TaskCalendar extends java.lang.Object implements java.lang.Iterable<CalendarCondition>
| Constructor and Description |
|---|
TaskCalendar()
Constructs an empty TaskCalendar where
ConditionMatchOne is set to true. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCalendarCondition(CalendarCondition cale)
Adds a new
CalendarCondition. |
void |
clearCalendarList()
Removes all calendar conditions.
|
TaskCalendar |
clone() |
boolean |
isConditionMatchAll()
Returns
true if the task will be executed when the date of JobPlan
activation or the logical date matches all specified calendar conditions. |
boolean |
isConditionMatchExt()
Returns
true if the calendar definition of external dependency should be used. |
boolean |
isConditionMatchNone()
Returns
true if the task will be executed when the date of JobPlan activation or
the logical date does not match any of the specified calendar conditions. |
boolean |
isConditionMatchOne()
Returns
true if the task will be executed when the date of JobPlan activation
or the logical date matches one of the specified calendar conditions. |
java.util.Iterator<CalendarCondition> |
iterator()
Returns an iterator over
CalendarCondition. |
void |
setConditionMatchAll()
The task will be executed when the date of JobPlan activation
or the logical date matches all specified calendar conditions.
|
void |
setConditionMatchExt()
Use calendar definition of external dependency.
|
void |
setConditionMatchNone()
The task will be executed when the date of JobPlan activation or
the logical date does not match any of the specified calendar conditions.
|
void |
setConditionMatchOne()
The task will be executed when the date of JobPlan activation
or the logical date matches one of the specified calendar conditions.
|
int |
size()
Returns the number of calendar conditions.
|
public TaskCalendar()
ConditionMatchOne is set to true.public void addCalendarCondition(CalendarCondition cale)
CalendarCondition.cale - CalendarCondition which should be addedpublic java.util.Iterator<CalendarCondition> iterator()
CalendarCondition.iterator in interface java.lang.Iterable<CalendarCondition>CalendarConditionpublic void clearCalendarList()
public void setConditionMatchOne()
public boolean isConditionMatchOne()
true if the task will be executed when the date of JobPlan activation
or the logical date matches one of the specified calendar conditions.public void setConditionMatchNone()
public boolean isConditionMatchNone()
true if the task will be executed when the date of JobPlan activation or
the logical date does not match any of the specified calendar conditions.public void setConditionMatchAll()
public boolean isConditionMatchAll()
true if the task will be executed when the date of JobPlan
activation or the logical date matches all specified calendar conditions.public void setConditionMatchExt()
public boolean isConditionMatchExt()
true if the calendar definition of external dependency should be used.
This option is only available for external dependencies.public int size()
public TaskCalendar clone()
clone in class java.lang.Object