public class ScheduledJobService extends java.lang.Object implements IInCoreJob
| Constructor and Description | 
|---|
ScheduledJobService(BmContext context)  | 
| Modifier and Type | Method and Description | 
|---|---|
JobExecution | 
createExecution(JobExecution je)  | 
void | 
deleteExecution(int jobExecutionId)
Removes one execution. 
 | 
void | 
deleteExecutions(java.util.List<java.lang.Integer> jobExecutionId)
Removes multiple executions. 
 | 
Job | 
getJobFromId(java.lang.String jobId)
Get job using its id 
 | 
java.util.Set<LogEntry> | 
getLogs(JobExecution jobExecution,
       int offset)
Return the logs of a job. 
 | 
ListResult<JobExecution> | 
searchExecution(JobExecutionQuery query)
Fetch recorded job executions. 
 | 
ListResult<Job> | 
searchJob(JobQuery query)
List jobs deployed. 
 | 
void | 
start(java.lang.String jobId,
     java.lang.String domainName)
Get active job using its ID
 
 force-start a job. 
 | 
void | 
storeLogEntries(int jobExecutionid,
               java.util.Set<LogEntry> entries)  | 
void | 
update(Job job)
Update job planification  
JobPlanification | 
void | 
updateExecution(JobExecution je)  | 
public ScheduledJobService(BmContext context)
public ListResult<Job> searchJob(JobQuery query) throws ServerFault
IJobsearchJob in interface IJobServerFaultpublic ListResult<JobExecution> searchExecution(JobExecutionQuery query) throws ServerFault
IJobsearchExecution in interface IJobServerFaultpublic Job getJobFromId(java.lang.String jobId) throws ServerFault
IJobgetJobFromId in interface IJobServerFaultpublic void update(Job job) throws ServerFault
IJobJobPlanificationupdate in interface IJobServerFaultpublic void deleteExecution(int jobExecutionId)
                     throws ServerFault
IJobdeleteExecution in interface IJobServerFaultpublic void deleteExecutions(java.util.List<java.lang.Integer> jobExecutionId)
                      throws ServerFault
IJobdeleteExecutions in interface IJobServerFaultpublic void start(java.lang.String jobId,
                  java.lang.String domainName)
           throws ServerFault
IJobstart in interface IJobServerFaultpublic java.util.Set<LogEntry> getLogs(JobExecution jobExecution, int offset) throws ServerFault
IJobgetLogs in interface IJobServerFaultpublic JobExecution createExecution(JobExecution je) throws ServerFault
createExecution in interface IInCoreJobServerFaultpublic void updateExecution(JobExecution je) throws ServerFault
updateExecution in interface IInCoreJobServerFaultpublic void storeLogEntries(int jobExecutionid,
                            java.util.Set<LogEntry> entries)
                     throws ServerFault
storeLogEntries in interface IInCoreJobServerFaultCopyright © 2021. All Rights Reserved.