|
||||||||||
| 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
org.rhq.enterprise.server.plugin.pc.StatefulScheduledJobInvocationContext
public class StatefulScheduledJobInvocationContext
| Constructor Summary | |
|---|---|
StatefulScheduledJobInvocationContext(ScheduledJobDefinition jobDefinition,
ServerPluginContext pluginContext,
ServerPluginComponent serverPluginComponent,
Map<String,String> jobData)
|
|
| Method Summary | |
|---|---|
boolean |
containsKey(String key)
Checks to see whether or not the property key is stored in the context. |
String |
get(String key)
Retrieves a property value from the context. |
Map<String,String> |
getJobData()
Returns a read-only view of the properties stored in the context. |
void |
put(String key,
String value)
Adds a property to the context that is persisted across invocations of the job. |
String |
remove(String key)
Removes the property value associated with the specified key |
| Methods inherited from class org.rhq.enterprise.server.plugin.pc.ScheduledJobInvocationContext |
|---|
getJobDefinition, getServerPluginComponent, getServerPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatefulScheduledJobInvocationContext(ScheduledJobDefinition jobDefinition,
ServerPluginContext pluginContext,
ServerPluginComponent serverPluginComponent,
Map<String,String> jobData)
| Method Detail |
|---|
public void put(String key,
String value)
put in class ScheduledJobInvocationContextkey - The property namevalue - The property valuepublic String get(String key)
get in class ScheduledJobInvocationContextkey - The property key
null if the key is not foundpublic String remove(String key)
remove in class ScheduledJobInvocationContextkey - The property key
null if the key is present in the contextpublic boolean containsKey(String key)
containsKey in class ScheduledJobInvocationContextkey - The property key
true if the key is found, false otherwise.public Map<String,String> getJobData()
getJobData in class ScheduledJobInvocationContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||