|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.schedule.managers.DefaultManagedScheduledJobRegistry
public class DefaultManagedScheduledJobRegistry
Default implementation that manages the static job data (i.e. configured in spring / plugins).
Constructor Summary | |
---|---|
DefaultManagedScheduledJobRegistry(java.util.Collection<ManagedScheduledJob> standardJobs)
|
Method Summary | |
---|---|
void |
addManagedScheduledJob(ManagedScheduledJob job)
Registers a job in the registry. |
ManagedScheduledJob |
getManagedScheduledJob(ScheduledJobKey key)
Returns a specific registered job in the system. |
java.util.Collection<ManagedScheduledJob> |
getManagedScheduledJobs()
Returns all the registered jobs in the system. |
boolean |
isManaged(ScheduledJobKey key)
Checks if the specified job is being managed. |
void |
removeManagedScheduledJob(ManagedScheduledJob job)
Unregisters a job in the registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultManagedScheduledJobRegistry(java.util.Collection<ManagedScheduledJob> standardJobs)
Method Detail |
---|
public java.util.Collection<ManagedScheduledJob> getManagedScheduledJobs()
ManagedScheduledJobRegistry
getManagedScheduledJobs
in interface ManagedScheduledJobRegistry
public ManagedScheduledJob getManagedScheduledJob(ScheduledJobKey key)
ManagedScheduledJobRegistry
getManagedScheduledJob
in interface ManagedScheduledJobRegistry
key
- the job key.
public boolean isManaged(ScheduledJobKey key)
ManagedScheduledJobRegistry
isManaged
in interface ManagedScheduledJobRegistry
key
- the job key.
public void addManagedScheduledJob(ManagedScheduledJob job)
ManagedScheduledJobRegistry
addManagedScheduledJob
in interface ManagedScheduledJobRegistry
job
- the jobpublic void removeManagedScheduledJob(ManagedScheduledJob job)
ManagedScheduledJobRegistry
removeManagedScheduledJob
in interface ManagedScheduledJobRegistry
job
- the job
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |