Interface ManagedScheduledJobRegistrationService
-
- All Known Implementing Classes:
ManagedScheduledJobFactory
@Transactional public interface ManagedScheduledJobRegistrationService
Defines the service for registering and unregistering ManagedScheduledJob, e.g. through the trigger module in the plugin subsystem.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
registerManagedScheduledJob(ManagedScheduledJob managedScheduledJob)
Registers a managedScheduledJob with the system.void
unregisterManagedScheduledJob(ManagedScheduledJob managedScheduledJob)
Will deregister a managedScheduledJob from this system.
-
-
-
Method Detail
-
registerManagedScheduledJob
void registerManagedScheduledJob(ManagedScheduledJob managedScheduledJob)
Registers a managedScheduledJob with the system. If a job have been previously registered, its configuration will be loaded, and scheduled as per persisted configuration, and if enabled. Otherwise, it will be scheduled with the default settings.- Parameters:
managedScheduledJob
-
-
unregisterManagedScheduledJob
void unregisterManagedScheduledJob(ManagedScheduledJob managedScheduledJob)
Will deregister a managedScheduledJob from this system. If scheduled, it will be unscheduled from the system. Any persisted configuration or history will not be removed.- Parameters:
managedScheduledJob
-
-
-