public interface AdminSchedulerMgrIf
Modifier and Type | Method and Description |
---|---|
AdminJobStatusResponse |
getJobStatus(AdminJobStatusRequest jobStatusRequest)
Retrieve Status Information on the Batch Jobs
|
void |
init()
Initialise the Scheduler Manager
|
void |
refreshConfigs()
Retrieve some commonly-used properties
|
boolean |
runBatchJob(java.lang.String group,
java.lang.String name,
java.lang.String[] paramArray)
Executes the batch job with the specified group and name.
|
AdminJobStatusResponse getJobStatus(AdminJobStatusRequest jobStatusRequest) throws KKAdminException
jobStatusRequest
- Defines the jobs to retrieve information aboutKKAdminException
- an unexpected exception in the KonaKart Admin engineboolean runBatchJob(java.lang.String group, java.lang.String name, java.lang.String[] paramArray) throws KKAdminException
The batch job must be defined as one the existing batch jobs in the system.
For Quartz jobs, the paramAray is not actually used but it is provided should these parameters be required for overriding the implementation of this method in a custom engine.
group
- The group of the batch job to be runname
- The name of the batch job to be executedparamArray
- A generic set of Strings that can be used for custom purposes.KKAdminException
- an unexpected exception in the KonaKart Admin enginevoid init() throws KKAdminException
KKAdminException
- an unexpected exception in the KonaKart Admin enginevoid refreshConfigs() throws java.lang.Exception
java.lang.Exception
- an unexpected exceptionCopyright © 2018 DS Data Systems UK Ltd.