Package com.appiancorp.suiteapi.process
Class RecurringInterval.Daily
java.lang.Object
com.appiancorp.suiteapi.process.RecurringInterval.Daily
- All Implemented Interfaces:
Serializable
- Enclosing class:
- RecurringInterval
Class defines Daily recurring interval
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the interval in terms of number of days.Gets the interval in terms of number of days.boolean
Returns true if the event occurs every weekday, else false.void
setDayInterval
(Integer dayInterval_) Sets the interval in terms of number of days.void
setDayIntervalExpr
(String dayIntervalExpr_) Sets the interval in terms of number of days.void
setEveryWeekday
(boolean everyWeekday_) Sets if the Daily object should throw an even every weekday.
-
Constructor Details
-
Daily
public Daily() -
Daily
public Daily(boolean everyWeekday_) Creates a new Daily Object.- Parameters:
everyWeekday_
- if true the event occurs every weekday. The day interval property is ignored in this case.
-
-
Method Details
-
getDayInterval
Returns the interval in terms of number of days. This property is ignored if the everyWeekday property is set to true. -
setDayInterval
Sets the interval in terms of number of days. This property is ignored if the everyWeekday property is set to true.- Throws:
IllegalArgumentException
- if the dayInterval is not a positive integer.
-
getEveryWeekday
public boolean getEveryWeekday()Returns true if the event occurs every weekday, else false. -
setEveryWeekday
public void setEveryWeekday(boolean everyWeekday_) Sets if the Daily object should throw an even every weekday.- Parameters:
everyWeekday_
- true if the event should occur every weekday, else false.
-
getDayIntervalExpr
Gets the interval in terms of number of days. This property is ignored if the everyWeekday property is set to true.- Returns:
- an expression that evaluates to a number (integer)
-
setDayIntervalExpr
Sets the interval in terms of number of days. This property is ignored if the everyWeekday property is set to true.- Parameters:
dayIntervalExpr_
- an expression that evaluates to a number (integer)
-