public interface ManagedScheduledJobRegistry
Modifier and Type | Method and Description |
---|---|
void |
addManagedScheduledJob(ManagedScheduledJob job)
Registers a job in the registry.
|
ManagedScheduledJob |
getManagedScheduledJob(ScheduledJobKey key)
Returns a specific registered job in the system.
|
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.
|
Collection<ManagedScheduledJob> getManagedScheduledJobs()
ManagedScheduledJob getManagedScheduledJob(ScheduledJobKey key)
key
- the job key.boolean isManaged(ScheduledJobKey key)
key
- the job key.void addManagedScheduledJob(ManagedScheduledJob job)
job
- the jobvoid removeManagedScheduledJob(ManagedScheduledJob job)
job
- the jobCopyright © 2003–2016 Atlassian. All rights reserved.