Package org.quartz.impl.jdbcjobstore
Class TriggerStatus
- java.lang.Object
-
- org.quartz.impl.jdbcjobstore.TriggerStatus
-
public class TriggerStatus extends java.lang.ObjectObject representing a job or trigger key.
- Author:
- James House
-
-
Constructor Summary
Constructors Constructor Description TriggerStatus(java.lang.String status, java.util.Date nextFireTime)Construct a new TriggerStatus with the status name and nextFireTime.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobKeygetJobKey()TriggerKeygetKey()java.util.DategetNextFireTime()Get the group portion of the key.java.lang.StringgetStatus()Get the name portion of the key.voidsetJobKey(JobKey jobKey)voidsetKey(TriggerKey key)java.lang.StringtoString()Return the string representation of the TriggerStatus.
-
-
-
Method Detail
-
getJobKey
public JobKey getJobKey()
-
setJobKey
public void setJobKey(JobKey jobKey)
-
getKey
public TriggerKey getKey()
-
setKey
public void setKey(TriggerKey key)
-
getStatus
public java.lang.String getStatus()
Get the name portion of the key.
- Returns:
- the name
-
getNextFireTime
public java.util.Date getNextFireTime()
Get the group portion of the key.
- Returns:
- the group
-
toString
public java.lang.String toString()
Return the string representation of the TriggerStatus.
- Overrides:
toStringin classjava.lang.Object
-
-