|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.rhq.core.domain.common.JobTrigger
public class JobTrigger
Indicates when a particular job (e.g. invocation of an RHQ Agent plugin operation) should execute. Note, all constructors of this class are private - the create*Trigger() static factory methods must be used to create instances.
Nested Class Summary | |
---|---|
static class |
JobTrigger.EndType
|
static class |
JobTrigger.RecurrenceType
|
static class |
JobTrigger.StartType
|
Method Summary | |
---|---|
static JobTrigger |
createCronTrigger(String cronExpression)
Create a trigger that will run on the schedule specified by a cron expression. |
static JobTrigger |
createLaterAndRepeatTrigger(Date startDate,
long repeatInterval)
Create a trigger that will run at specified date/time and then repeat on interval indefinitely. |
static JobTrigger |
createLaterAndRepeatTrigger(Date startDate,
long repeatInterval,
Date endDate)
Create a trigger that will run at specified date/time and then repeat on interval until end date/time. |
static JobTrigger |
createLaterAndRepeatTrigger(Date startDate,
long repeatInterval,
int repeatCount)
Create a trigger that will run at specified date/time and then repeat on interval n times. |
static JobTrigger |
createLaterTrigger(Date startDate)
Create a trigger that will run at specified date/time, once. |
static JobTrigger |
createNowAndRepeatTrigger(long repeatInterval)
Create a trigger that will run now and repeat on interval indefinitely. |
static JobTrigger |
createNowAndRepeatTrigger(long repeatInterval,
Date endDate)
Create a trigger that will run now and repeat on interval until end date/time. |
static JobTrigger |
createNowAndRepeatTrigger(long repeatInterval,
int repeatCount)
Create a trigger that will run now and repeat on interval n times. |
static JobTrigger |
createNowTrigger()
Create a trigger that will run now, once. |
String |
getCronExpression()
|
Date |
getEndDate()
|
JobTrigger.EndType |
getEndType()
|
JobTrigger.RecurrenceType |
getRecurrenceType()
|
Integer |
getRepeatCount()
|
Long |
getRepeatInterval()
|
Date |
getStartDate()
|
JobTrigger.StartType |
getStartType()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public JobTrigger.StartType getStartType()
public JobTrigger.EndType getEndType()
public JobTrigger.RecurrenceType getRecurrenceType()
public Date getStartDate()
public Long getRepeatInterval()
public String getCronExpression()
public Date getEndDate()
public Integer getRepeatCount()
public String toString()
toString
in class Object
public static JobTrigger createNowTrigger()
public static JobTrigger createNowAndRepeatTrigger(long repeatInterval)
public static JobTrigger createNowAndRepeatTrigger(long repeatInterval, Date endDate)
public static JobTrigger createNowAndRepeatTrigger(long repeatInterval, int repeatCount)
public static JobTrigger createLaterTrigger(Date startDate)
public static JobTrigger createLaterAndRepeatTrigger(Date startDate, long repeatInterval)
public static JobTrigger createLaterAndRepeatTrigger(Date startDate, long repeatInterval, Date endDate)
public static JobTrigger createLaterAndRepeatTrigger(Date startDate, long repeatInterval, int repeatCount)
public static JobTrigger createCronTrigger(String cronExpression)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |