|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.platform.scheduler2.recur.IncrementalRecurrence
public class IncrementalRecurrence
Used to specify incremental dates or times. For example an incremental recurrence with 1 as a starting value and 3 as an increment translates to 1, 4, 7, etc. The time units may represent years, or days of month or hours, etc. The method to which this class is passed will determine the meaning of the integers within the list.
Constructor Summary | |
---|---|
IncrementalRecurrence()
Creates a new incremental recurrence with a null starting value and increment |
|
IncrementalRecurrence(Integer startingValue,
Integer increment)
Creates a new incremental recurrence. |
Method Summary | |
---|---|
Integer |
getIncrement()
Returns the increment |
Integer |
getStartingValue()
Returns the starting value |
void |
setIncrement(Integer increment)
Sets the increment |
void |
setStartingValue(Integer startingValue)
Sets the starting value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IncrementalRecurrence()
public IncrementalRecurrence(Integer startingValue, Integer increment)
startingValue
- the starting valueincrement
- the incrementMethod Detail |
---|
public Integer getStartingValue()
public void setStartingValue(Integer startingValue)
startingValue
- the starting valuepublic Integer getIncrement()
public void setIncrement(Integer increment)
increment
- the increment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |