Class SchedulerTool
- java.lang.Object
-
- org.apache.turbine.services.schedule.SchedulerTool
-
- All Implemented Interfaces:
ApplicationTool
public class SchedulerTool extends Object implements ApplicationTool
This tool is used to retrieve information about the job scheduler.- Version:
- $Id$
- Author:
- Quinton McCombs
-
-
Constructor Summary
Constructors Constructor Description SchedulerTool()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobEntrygetJob(String jobId)Gets the job identified by the jobId.List<? extends JobEntry>getScheduledJobs()Gets the list of scheduled jobs.voidinit(Object data)Initialize the pull toolbooleanisEnabled()Determines if the scheduler service is currently enabled.voidrefresh()Does nothing
-
-
-
Constructor Detail
-
SchedulerTool
public SchedulerTool()
-
-
Method Detail
-
init
public void init(Object data)
Initialize the pull tool- Specified by:
initin interfaceApplicationTool- Parameters:
data- initialization data
-
refresh
public void refresh()
Does nothing- Specified by:
refreshin interfaceApplicationTool
-
getScheduledJobs
public List<? extends JobEntry> getScheduledJobs()
Gets the list of scheduled jobs.- Returns:
- List of JobEntry objects.
-
isEnabled
public boolean isEnabled()
Determines if the scheduler service is currently enabled.- Returns:
- true if the scheduler is enabled
-
-