public interface IJob
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getConfigParams()
Returns a list of configuration parameter names.
|
IConfigStore |
getConfigStore()
Gets the configuration substore used by this job
|
java.lang.String |
getId()
get instance id.
|
java.lang.String |
getImplName()
gets the plugin name of this job.
|
IJobCron |
getJobCron()
get cron string associated with this job
|
void |
init(ISubsystem owner,
java.lang.String id,
java.lang.String implName,
IConfigStore config)
Initialize from the configuration file.
|
boolean |
isEnabled()
tells if the job is enabled
|
boolean |
isStopped()
Check whether the job has been asked to stop.
|
void |
setId(java.lang.String id)
set instance id.
|
void |
stop()
Request the job to stop gracefully.
|
void init(ISubsystem owner, java.lang.String id, java.lang.String implName, IConfigStore config) throws EBaseException
id - String name of this instanceimplName - string name of this implementationconfig - configuration store for this instanceEBaseException - any initilization failureboolean isEnabled()
void setId(java.lang.String id)
id - String id of the instancejava.lang.String getId()
IJobCron getJobCron()
java.lang.String[] getConfigParams()
java.lang.String getImplName()
IConfigStore getConfigStore()
void stop()
boolean isStopped()