com.atlassian.confluence.schedule
Class ScheduledJobHistory

java.lang.Object
  extended by com.atlassian.confluence.schedule.ScheduledJobHistory
All Implemented Interfaces:
Serializable

public class ScheduledJobHistory
extends Object
implements Serializable

Represent an execution event of a scheduled job. Immutable.

See Also:
Serialized Form

Nested Class Summary
static class ScheduledJobHistory.NaturalComparator
          Natural order is by the natural order of startDate, then endDate (if required).
 
Constructor Summary
ScheduledJobHistory(Date startDate, Date endDate)
           
 
Method Summary
 boolean equals(Object o)
           
 long getDuration()
           
 Date getEndDate()
           
 Date getStartDate()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScheduledJobHistory

public ScheduledJobHistory(Date startDate,
                           Date endDate)
Method Detail

getEndDate

public Date getEndDate()

getStartDate

public Date getStartDate()

getDuration

public long getDuration()

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.