public interface Job
DirXMLJob: <implementation class name>
For example:
DirXMLJob: com.novell.nds.dirxml.job.trigger.Trigger
The implementation's definition XML files also appear in the .jar file and are
name according to the class file name. For example, if the class file name is
com/novell/nds/dirxml/job/trigger/Trigger.class
then the definition and translation files are named as follows:
com/novell/nds/dirxml/job.trigger/Trigger.xml
com/novell/nds/dirxml/job.trigger/Trigger_en.xlf
com/novell/nds/dirxml/job.trigger/Trigger_fr.xlf
Modifier and Type | Method and Description |
---|---|
JobResult[] |
checkConfig(JobManager manager,
java.util.Locale msgLocale)
Check this job's configuration on behalf of a user interface.
|
JobResult[] |
execute(JobManager manager)
Execute the job.
|
JobResult[] checkConfig(JobManager manager, java.util.Locale msgLocale)
com.novell.nds.dirxml.util.LocalizedMessageSource
This action is performed on behalf of a user; therefore lengthy operations (e.g., examination
of all the in-scope objects) should be avoided.manager
- interface that supplies all of the the job parameters, scope, etc.msgLocale
- specifies the locale information to be used for any messages returnednull
if no errors or warnings need to be reported.CheckParamResult
,
CheckPrivilegesResult
JobResult[] execute(JobManager manager)
manager
- interface that supplies all of the the job parameters, scope, etc.null
.