|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.platform.repository.subscription.Schedule
public class Schedule
Constructor Summary | |
---|---|
Schedule(String id,
String title,
String scheduleRef,
String description,
Integer repeatCount,
Integer repeatInterval,
String group,
Date startDate,
Date endDate)
|
|
Schedule(String id,
String title,
String scheduleRef,
String description,
String cronString,
String group,
Date startDate,
Date endDate)
|
Method Summary | |
---|---|
boolean |
equals(Object other)
|
String |
getCronString()
Get the cron string for this schedule. |
String |
getDescription()
|
Date |
getEndDate()
|
String |
getGroup()
|
String |
getId()
A unique id, often a GUID uniquely identifying the schedule, used to locate the schedule in the Solution Repository (ISolutionRepository implementors). |
Date |
getLastTrigger()
|
Integer |
getRepeatCount()
Get the repeat count (number of times the schedule should run). |
Integer |
getRepeatInterval()
Get repeat time in milliseconds. |
int |
getRevision()
|
String |
getScheduleReference()
Typically the "name" of the schedule |
Date |
getStartDate()
|
String |
getTitle()
|
int |
hashCode()
|
boolean |
isCronSchedule()
NOTE: in this implementation, it is possible for isCronSchedule to return false and isRepeatSchedule to return false on the same instance. |
boolean |
isRepeatSchedule()
NOTE: see NOTE in isCronSchedule |
void |
setCronString(String cronString)
NOTE: see NOTE in setRepeatInterval |
void |
setDescription(String description)
|
void |
setEndDate(Date endDate)
|
void |
setGroup(String group)
|
void |
setId(String id)
|
void |
setLastTrigger(Date lastTrigger)
|
void |
setRepeatCount(Integer repeatCount)
Set the repeat count (number of times the schedule should run). |
void |
setRepeatInterval(Integer repeatInterval)
NOTE: repeat schedules and cron schedules are mutually exclusive. |
void |
setScheduleReference(String scheduleRef)
|
void |
setStartDate(Date startDate)
|
void |
setTitle(String title)
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Schedule(String id, String title, String scheduleRef, String description, String cronString, String group, Date startDate, Date endDate)
public Schedule(String id, String title, String scheduleRef, String description, Integer repeatCount, Integer repeatInterval, String group, Date startDate, Date endDate)
Method Detail |
---|
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getRevision()
getRevision
in interface ISchedule
public String getId()
ISchedule
getId
in interface ISchedule
public String getTitle()
getTitle
in interface ISchedule
public String getScheduleReference()
ISchedule
getScheduleReference
in interface ISchedule
public void setId(String id)
setId
in interface ISchedule
public void setTitle(String title)
setTitle
in interface ISchedule
public void setScheduleReference(String scheduleRef)
setScheduleReference
in interface ISchedule
public String getDescription()
getDescription
in interface ISchedule
public void setDescription(String description)
setDescription
in interface ISchedule
public String getCronString()
ISchedule
getCronString
in interface ISchedule
public void setCronString(String cronString)
setCronString
in interface ISchedule
public String getGroup()
getGroup
in interface ISchedule
public void setGroup(String group)
setGroup
in interface ISchedule
public Date getLastTrigger()
getLastTrigger
in interface ISchedule
public void setLastTrigger(Date lastTrigger)
setLastTrigger
in interface ISchedule
public Integer getRepeatCount()
ISchedule
getRepeatCount
in interface ISchedule
public Integer getRepeatInterval()
ISchedule
getRepeatInterval
in interface ISchedule
public void setRepeatCount(Integer repeatCount)
ISchedule
setRepeatCount
in interface ISchedule
public void setRepeatInterval(Integer repeatInterval)
setRepeatInterval
in interface ISchedule
repeatInterval
- Integer repeat time in millisecondspublic boolean isCronSchedule()
isCronSchedule
in interface ISchedule
public boolean isRepeatSchedule()
isRepeatSchedule
in interface ISchedule
public Date getEndDate()
getEndDate
in interface ISchedule
public Date getStartDate()
getStartDate
in interface ISchedule
public void setEndDate(Date endDate)
setEndDate
in interface ISchedule
public void setStartDate(Date startDate)
setStartDate
in interface ISchedule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |