| | |
| | | |
| | | |
| | | |
| | | // The DN for the task entry. |
| | | /** The DN for the task entry. */ |
| | | private DN taskEntryDN; |
| | | |
| | | // The entry that actually defines this task. |
| | | /** The entry that actually defines this task. */ |
| | | private Entry taskEntry; |
| | | |
| | | // The action to take if one of the dependencies for this task does not |
| | | // complete successfully. |
| | | /** |
| | | * The action to take if one of the dependencies for this task does not |
| | | * complete successfully. |
| | | */ |
| | | private FailedDependencyAction failedDependencyAction; |
| | | |
| | | // The counter used for log messages associated with this task. |
| | | /** The counter used for log messages associated with this task. */ |
| | | private int logMessageCounter; |
| | | |
| | | // The task IDs of other tasks on which this task is dependent. |
| | | /** The task IDs of other tasks on which this task is dependent. */ |
| | | private LinkedList<String> dependencyIDs; |
| | | |
| | | // A set of log messages generated by this task. |
| | | // TODO: convert from String to LocalizableMessage objects. |
| | | // Since these are stored in an entry we would need |
| | | // to adopt some way for writing message to string in such |
| | | // a way that the information could be reparsed from its |
| | | // string value. |
| | | /** |
| | | * A set of log messages generated by this task. |
| | | * TODO: convert from String to LocalizableMessage objects. |
| | | * Since these are stored in an entry we would need |
| | | * to adopt some way for writing message to string in such |
| | | * a way that the information could be reparsed from its |
| | | * string value. |
| | | */ |
| | | private LinkedList<String> logMessages; |
| | | |
| | | // The set of e-mail addresses of the users to notify when the task is done |
| | | // running, regardless of whether it completes successfully. |
| | | /** |
| | | * The set of e-mail addresses of the users to notify when the task is done |
| | | * running, regardless of whether it completes successfully. |
| | | */ |
| | | private LinkedList<String> notifyOnCompletion; |
| | | |
| | | // The set of e-mail addresses of the users to notify if the task does not |
| | | // complete successfully for some reason. |
| | | /** |
| | | * The set of e-mail addresses of the users to notify if the task does not |
| | | * complete successfully for some reason. |
| | | */ |
| | | private LinkedList<String> notifyOnError; |
| | | |
| | | // The time that processing actually started for this task. |
| | | /** The time that processing actually started for this task. */ |
| | | private long actualStartTime; |
| | | |
| | | // The time that actual processing ended for this task. |
| | | /** The time that actual processing ended for this task. */ |
| | | private long completionTime; |
| | | |
| | | // The time that this task was scheduled to start processing. |
| | | /** The time that this task was scheduled to start processing. */ |
| | | private long scheduledStartTime; |
| | | |
| | | // The operation used to create this task in the server. |
| | | /** The operation used to create this task in the server. */ |
| | | private Operation operation; |
| | | |
| | | // The ID of the recurring task with which this task is associated. |
| | | /** The ID of the recurring task with which this task is associated. */ |
| | | private String recurringTaskID; |
| | | |
| | | // The unique ID assigned to this task. |
| | | /** The unique ID assigned to this task. */ |
| | | private String taskID; |
| | | |
| | | // The task backend with which this task is associated. |
| | | /** The task backend with which this task is associated. */ |
| | | private TaskBackend taskBackend; |
| | | |
| | | // The current state of this task. |
| | | /** The current state of this task. */ |
| | | private TaskState taskState; |
| | | |
| | | // The task state that may be set when the task is interrupted. |
| | | /** The task state that may be set when the task is interrupted. */ |
| | | private TaskState taskInterruptState; |
| | | |
| | | // The scheduler with which this task is associated. |
| | | /** The scheduler with which this task is associated. */ |
| | | private TaskScheduler taskScheduler; |
| | | |
| | | /** |