public class SchedulerHelper extends Object
| Constructor and Description |
|---|
SchedulerHelper() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
deleteAllCompletedJobs() |
Boolean |
deleteJob(String jobName,
String groupName) |
List<org.jahia.ajax.gwt.client.data.job.GWTJahiaJobDetail> |
getActiveJobs(Locale locale) |
List<String> |
getAllJobGroupNames() |
List<org.jahia.ajax.gwt.client.data.job.GWTJahiaJobDetail> |
getAllJobs(Set<String> groupNames,
String sortField,
String sortDir,
String groupBy) |
void |
setScheduler(SchedulerService scheduler) |
void |
start() |
public void setScheduler(SchedulerService scheduler)
public void start()
public List<org.jahia.ajax.gwt.client.data.job.GWTJahiaJobDetail> getActiveJobs(Locale locale) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionpublic List<org.jahia.ajax.gwt.client.data.job.GWTJahiaJobDetail> getAllJobs(Set<String> groupNames, String sortField, String sortDir, String groupBy) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionpublic Boolean deleteJob(String jobName, String groupName) throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionpublic List<String> getAllJobGroupNames() throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionpublic Integer deleteAllCompletedJobs() throws org.jahia.ajax.gwt.client.service.GWTJahiaServiceException
org.jahia.ajax.gwt.client.service.GWTJahiaServiceExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.