org.quartz.utils
Class TriggerStatus
java.lang.Object
org.quartz.utils.Pair
org.quartz.utils.TriggerStatus
public class TriggerStatus - extends Pair
Object representing a job or trigger key.
- Author:
- James House
|
Constructor Summary |
TriggerStatus(String status,
Date nextFireTime)
Construct a new TriggerStatus with the status name and nextFireTime. |
TriggerStatus
public TriggerStatus(String status,
Date nextFireTime)
- Construct a new TriggerStatus with the status name and nextFireTime.
- Parameters:
status - the trigger's statusnextFireTime - the next time the trigger will fire
getJobKey
public Key getJobKey()
setJobKey
public void setJobKey(Key jobKey)
getKey
public Key getKey()
setKey
public void setKey(Key key)
getStatus
public String getStatus()
Get the name portion of the key.
- Returns:
- the name
getNextFireTime
public Date getNextFireTime()
Get the group portion of the key.
- Returns:
- the group
toString
public String toString()
Return the string representation of the TriggerStatus.
- Overrides:
toString in class Object
|