|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.plugin.pc.ScheduledJobInvocationContext
public class ScheduledJobInvocationContext
A scheduled job's invocation method can take a single argument of this type. If this is the case, the scheduled job's method will be passed an object of this type enabling the job being invoked to be given information about the invocation.
| Constructor Summary | |
|---|---|
ScheduledJobInvocationContext(ScheduledJobDefinition jobDefinition,
ServerPluginContext pluginContext,
ServerPluginComponent serverPluginComponent)
|
|
| Method Summary | |
|---|---|
ScheduledJobDefinition |
getJobDefinition()
The definition of the triggered job that owns this context object. |
ServerPluginComponent |
getServerPluginComponent()
If the job's plugin has a plugin component defined, this will return the instance of that component. |
ServerPluginContext |
getServerPluginContext()
General information for the job's plugin. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScheduledJobInvocationContext(ScheduledJobDefinition jobDefinition,
ServerPluginContext pluginContext,
ServerPluginComponent serverPluginComponent)
| Method Detail |
|---|
public ScheduledJobDefinition getJobDefinition()
public ServerPluginContext getServerPluginContext()
public ServerPluginComponent getServerPluginComponent()
null if
there is no plugin component for the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||