public class ScheduledJobDefinition extends Object
| Constructor and Description |
|---|
ScheduledJobDefinition(String jobId,
boolean enabled,
String className,
String methodName,
AbstractScheduleType scheduleType,
Properties callbackData) |
| Modifier and Type | Method and Description |
|---|---|
Properties |
getCallbackData() |
String |
getClassName()
The plugin class name that that will perform the work for the job.
|
String |
getJobId() |
String |
getMethodName() |
AbstractScheduleType |
getScheduleType() |
boolean |
isEnabled() |
String |
toString() |
public ScheduledJobDefinition(String jobId, boolean enabled, String className, String methodName, AbstractScheduleType scheduleType, Properties callbackData)
public String getJobId()
public boolean isEnabled()
public String getClassName()
null, the plugin component instance will be used
(i.e. if null, it means the plugin component instance that was used to initialize
the plugin is the same instance that will handle the job; a new instance of the plugin component
class is not created. This allows a plugin to have a stateful object be periodically
invoked for each job invocation, as opposed to having a new object instantiated for
each job invocation).public String getMethodName()
public AbstractScheduleType getScheduleType()
public Properties getCallbackData()
Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.