org.quartz.utils
Class TriggerStatus

java.lang.Object
  extended by org.quartz.utils.Pair
      extended by org.quartz.utils.TriggerStatus

public class TriggerStatus
extends Pair

Object representing a job or trigger key.

Author:
James House

Constructor Summary
TriggerStatus(java.lang.String status, java.util.Date nextFireTime)
          Construct a new TriggerStatus with the status name and nextFireTime.
 
Method Summary
 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.
 
Methods inherited from class org.quartz.utils.Pair
equals, getFirst, getSecond, hashCode, setFirst, setSecond
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TriggerStatus

public TriggerStatus(java.lang.String status,
                     java.util.Date nextFireTime)
Construct a new TriggerStatus with the status name and nextFireTime.

Parameters:
status - the trigger's status
nextFireTime - the next time the trigger will fire
Method Detail

getJobKey

public Key getJobKey()

setJobKey

public void setJobKey(Key jobKey)

getKey

public Key getKey()

setKey

public void setKey(Key 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:
toString in class java.lang.Object


Copyright 2001-2019, Terracotta, Inc.