|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IJob
An interface to be implemented from for a job to be scheduled by the Jobs Scheduler.
Method Summary | |
---|---|
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 |
void |
setId(java.lang.String id)
set instance id. |
Method Detail |
---|
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 instance
EBaseException
- 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |