org.rhq.enterprise.server.xmlschema
Class ScheduledJobDefinition
java.lang.Object
org.rhq.enterprise.server.xmlschema.ScheduledJobDefinition
public class ScheduledJobDefinition
- extends java.lang.Object
Provides information about a server plugin scheduled job.
- Author:
- John Mazzitelli
|
Constructor Summary |
ScheduledJobDefinition(java.lang.String jobId,
boolean enabled,
java.lang.String className,
java.lang.String methodName,
AbstractScheduleType scheduleType,
java.util.Properties callbackData)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ScheduledJobDefinition
public ScheduledJobDefinition(java.lang.String jobId,
boolean enabled,
java.lang.String className,
java.lang.String methodName,
AbstractScheduleType scheduleType,
java.util.Properties callbackData)
getJobId
public java.lang.String getJobId()
isEnabled
public boolean isEnabled()
getClassName
public java.lang.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 java.lang.String getMethodName()
getScheduleType
public AbstractScheduleType getScheduleType()
getCallbackData
public java.util.Properties getCallbackData()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.