com.atlassian.confluence.schedule
Class AbstractManagedScheduledJob

java.lang.Object
  extended by com.atlassian.confluence.schedule.AbstractManagedScheduledJob
All Implemented Interfaces:
ManagedScheduledJob
Direct Known Subclasses:
ManagedScheduledCronJob, ManagedScheduledSimpleJob

public abstract class AbstractManagedScheduledJob
extends Object
implements ManagedScheduledJob

Implements common properties for various implementations of ManagedScheduledJob.


Constructor Summary
protected AbstractManagedScheduledJob(org.quartz.JobDetail jobDetail, boolean editable, boolean keepingHistory, boolean canRunAdhoc, boolean canDisable)
           
 
Method Summary
 boolean canDisable()
           
 boolean canRunAdhoc()
           
 boolean equals(Object o)
           
 org.quartz.JobDetail getJobDetail()
           
 ScheduledJobKey getScheduledJobKey()
           
 int hashCode()
           
 boolean isEditable()
           
 boolean isKeepingHistory()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractManagedScheduledJob

protected AbstractManagedScheduledJob(org.quartz.JobDetail jobDetail,
                                      boolean editable,
                                      boolean keepingHistory,
                                      boolean canRunAdhoc,
                                      boolean canDisable)
Method Detail

getJobDetail

public org.quartz.JobDetail getJobDetail()
Specified by:
getJobDetail in interface ManagedScheduledJob

isEditable

public boolean isEditable()
Specified by:
isEditable in interface ManagedScheduledJob

isKeepingHistory

public boolean isKeepingHistory()
Specified by:
isKeepingHistory in interface ManagedScheduledJob

canRunAdhoc

public boolean canRunAdhoc()
Specified by:
canRunAdhoc in interface ManagedScheduledJob

canDisable

public boolean canDisable()
Specified by:
canDisable in interface ManagedScheduledJob

getScheduledJobKey

public ScheduledJobKey getScheduledJobKey()
Specified by:
getScheduledJobKey in interface ManagedScheduledJob

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.