|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.backends.task.RecurringTask
public class RecurringTask
This class defines a information about a recurring task, which will be used to repeatedly schedule tasks for processing.
Constructor Summary | |
---|---|
RecurringTask(TaskScheduler taskScheduler,
Entry recurringTaskEntry)
Creates a new recurring task based on the information in the provided entry. |
Method Summary | |
---|---|
Entry |
getRecurringTaskEntry()
Retrieves the entry containing the data for this recurring task. |
DN |
getRecurringTaskEntryDN()
Retrieves the DN of the entry containing the data for this recurring task. |
java.lang.String |
getRecurringTaskID()
Retrieves the unique ID assigned to this recurring task. |
java.lang.String |
getTaskClassName()
Retrieves the fully-qualified name of the Java class that provides the implementation logic for this recurring task. |
Task |
scheduleNextIteration()
Schedules the next iteration of this recurring task for processing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecurringTask(TaskScheduler taskScheduler, Entry recurringTaskEntry) throws DirectoryException
taskScheduler
- A reference to the task scheduler that may be
used to schedule new tasks.recurringTaskEntry
- The entry containing the information to use to
define the task to process.
DirectoryException
- If the provided entry does not contain a valid
recurring task definition.Method Detail |
---|
public java.lang.String getRecurringTaskID()
public DN getRecurringTaskEntryDN()
public Entry getRecurringTaskEntry()
public java.lang.String getTaskClassName()
public Task scheduleNextIteration()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |