public class TriggerStatus extends Pair
Object representing a job or trigger key.
Constructor and Description |
---|
TriggerStatus(java.lang.String status,
java.util.Date nextFireTime)
Construct a new TriggerStatus with the status name and nextFireTime.
|
Modifier and Type | Method and Description |
---|---|
Key |
getJobKey() |
Key |
getKey() |
java.util.Date |
getNextFireTime()
Get the group portion of the key.
|
java.lang.String |
getStatus()
Get the name portion of the key.
|
void |
setJobKey(Key jobKey) |
void |
setKey(Key key) |
java.lang.String |
toString()
Return the string representation of the TriggerStatus.
|
public TriggerStatus(java.lang.String status, java.util.Date nextFireTime)
status
- the trigger's statusnextFireTime
- the next time the trigger will firepublic Key getJobKey()
public void setJobKey(Key jobKey)
public Key getKey()
public void setKey(Key key)
public java.lang.String getStatus()
Get the name portion of the key.
public java.util.Date getNextFireTime()
Get the group portion of the key.
public java.lang.String toString()
Return the string representation of the TriggerStatus.
toString
in class java.lang.Object