public interface ISchedulerService
WARNING: If you change this interface or any of the objects related to this API, you are effectively changing the WSDL which is generated by JAXWS from this interface. Changing the WSDL means you are changing the contract by which clients talk to the scheduling service.
Currently SimpleJobTrigger and ComplexJobTrigger are natively JAXB marshallable. Each trigger class
contains JAXB annotations to allow us to use the real trigger object model and not to use a XmlJavaTypeAdapter class.
For the Job object, we are using the JobAdapter to send the Job over the wire. We realize
that two different approaches were taken here and perhaps a unified approach is best, but each object model was taken
on and the best approach to JAXB compatibility assessed based on their own merits. In any case, the JAXB compliance
unit tests in this project will provide assurance that each type transported over the WS remains functional.
| Modifier and Type | Method and Description |
|---|---|
String |
createComplexJob(String jobName,
Map<String,ParamValue> jobParams,
ComplexJobTrigger trigger) |
String |
createSimpleJob(String jobName,
Map<String,ParamValue> jobParams,
SimpleJobTrigger trigger) |
Job[] |
getJobs() |
int |
getSchedulerStatus()
Returns the scheduler status.
|
void |
pause() |
void |
pauseJob(String jobId) |
void |
removeJob(String jobId) |
void |
resumeJob(String jobId) |
void |
start() |
void |
updateJobToUseComplexTrigger(String jobId,
Map<String,ParamValue> jobParams,
ComplexJobTrigger trigger) |
void |
updateJobToUseSimpleTrigger(String jobId,
Map<String,ParamValue> jobParams,
SimpleJobTrigger trigger) |
String createSimpleJob(String jobName, Map<String,ParamValue> jobParams, SimpleJobTrigger trigger) throws SchedulerException
SchedulerExceptionIScheduler#createJob(String, Class, java.util.Map, org.pentaho.platform.api.scheduler2.JobTrigger)String createComplexJob(String jobName, Map<String,ParamValue> jobParams, ComplexJobTrigger trigger) throws SchedulerException
SchedulerExceptionIScheduler#createJob(String, Class, java.util.Map, org.pentaho.platform.api.scheduler2.JobTrigger)void updateJobToUseSimpleTrigger(String jobId, Map<String,ParamValue> jobParams, SimpleJobTrigger trigger) throws SchedulerException
SchedulerExceptionIScheduler#updateJob(String, java.util.Map, org.pentaho.platform.api.scheduler2.JobTrigger)void updateJobToUseComplexTrigger(String jobId, Map<String,ParamValue> jobParams, ComplexJobTrigger trigger) throws SchedulerException
SchedulerExceptionIScheduler#updateJob(String, java.util.Map, org.pentaho.platform.api.scheduler2.JobTrigger)void removeJob(String jobId) throws SchedulerException
SchedulerExceptionIScheduler#removeJob(String)void pauseJob(String jobId) throws SchedulerException
SchedulerExceptionIScheduler#pauseJob(String)void resumeJob(String jobId) throws SchedulerException
SchedulerExceptionIScheduler#resumeJob(String)void pause()
throws SchedulerException
SchedulerExceptionIScheduler#pause()void start()
throws SchedulerException
SchedulerExceptionIScheduler#start()Job[] getJobs() throws SchedulerException
SchedulerExceptionIScheduler#getJobs(org.pentaho.platform.api.scheduler2.IJobFilter)int getSchedulerStatus()
throws SchedulerException
SchedulerExceptionIScheduler#getStatus()Copyright © 2017 Hitachi Vantara. All rights reserved.