|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.tools.tasks.TaskEntry
public class TaskEntry
Processes information from a task entry from the directory and provides accessors for attribute information. In some cases the data is formatted into more human-friendly formats.
Constructor Summary | |
---|---|
TaskEntry(Entry entry)
Creates a parameterized instance. |
Method Summary | |
---|---|
Message |
getActualStartTime()
Gets the human-friendly start time. |
java.lang.String |
getClassName()
Gets the name of the class implementing the task represented here. |
java.util.List<java.lang.String> |
getCompletionNotificationEmailAddresses()
Gets the email messages that will be used for notifications when the task completes. |
Message |
getCompletionTime()
Gets the human-friendly completion time. |
java.util.List<java.lang.String> |
getDependencyIds()
Gets the IDs of tasks upon which this task depends. |
DN |
getDN()
Gets the DN of the wrapped entry. |
java.util.List<java.lang.String> |
getErrorNotificationEmailAddresses()
Gets the email messages that will be used for notifications when the task encounters an error. |
Message |
getFailedDependencyAction()
Gets the action to take if this task fails. |
java.lang.String |
getId()
Gets the ID of the task. |
java.util.List<Message> |
getLogMessages()
Gets the logs associated with this task's execution. |
Message |
getScheduledStartTime()
Gets the human-friendly scheduled time. |
Message |
getState()
Gets the state of the task. |
java.util.Map<Message,java.util.List<java.lang.String>> |
getTaskSpecificAttributeValuePairs()
Gets a mapping of attributes that are specific to the implementing task as opposed to the superior, or base, task. |
TaskState |
getTaskState()
Gets the task state. |
Message |
getType()
Gets a user presentable string indicating the type of this task. |
boolean |
isCancelable()
Indicates whether or not this task supports a cancel operation. |
boolean |
isDone()
Indicates whether or not this task is done. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskEntry(Entry entry)
entry
- to wrapMethod Detail |
---|
public DN getDN()
public java.lang.String getId()
public java.lang.String getClassName()
public Message getState()
public Message getScheduledStartTime()
public Message getActualStartTime()
public Message getCompletionTime()
public java.util.List<java.lang.String> getDependencyIds()
public Message getFailedDependencyAction()
public java.util.List<Message> getLogMessages()
public java.util.List<java.lang.String> getCompletionNotificationEmailAddresses()
public java.util.List<java.lang.String> getErrorNotificationEmailAddresses()
public Message getType()
public boolean isCancelable()
public java.util.Map<Message,java.util.List<java.lang.String>> getTaskSpecificAttributeValuePairs()
public TaskState getTaskState()
public boolean isDone()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |