org.rhq.enterprise.server.xmlschema
Class ScheduledJobDefinition
java.lang.Object
org.rhq.enterprise.server.xmlschema.ScheduledJobDefinition
public class ScheduledJobDefinition
- extends Object
Provides information about a server plugin scheduled job.
- Author:
- John Mazzitelli
ScheduledJobDefinition
public ScheduledJobDefinition(String jobId,
boolean enabled,
String className,
String methodName,
AbstractScheduleType scheduleType,
Properties callbackData)
getJobId
public String getJobId()
isEnabled
public boolean isEnabled()
getClassName
public String getClassName()
- The plugin class name that that will perform the work for the job.
If
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).
- Returns:
- the class name that will do the work of the job
getMethodName
public String getMethodName()
getScheduleType
public AbstractScheduleType getScheduleType()
getCallbackData
public Properties getCallbackData()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.