| | |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.DN; |
| | | import org.opends.server.types.Entry; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | |
| | | |
| | | |
| | | |
| | | // The DN of the entry that actually defines this task. |
| | | private DN recurringTaskEntryDN; |
| | | |
| | | // The entry that actually defines this task. |
| | | private Entry recurringTaskEntry; |
| | | |
| | |
| | | assert debugConstructor(CLASS_NAME, String.valueOf(taskScheduler), |
| | | String.valueOf(recurringTaskEntry)); |
| | | |
| | | this.taskScheduler = taskScheduler; |
| | | this.recurringTaskEntry = recurringTaskEntry; |
| | | this.taskScheduler = taskScheduler; |
| | | this.recurringTaskEntry = recurringTaskEntry; |
| | | this.recurringTaskEntryDN = recurringTaskEntry.getDN(); |
| | | |
| | | |
| | | // Get the recurring task ID from the entry. If there isn't one, then fail. |
| | |
| | | |
| | | |
| | | /** |
| | | * Retrieves the DN of the entry containing the data for this recurring task. |
| | | * |
| | | * @return The DN of the entry containing the data for this recurring task. |
| | | */ |
| | | public DN getRecurringTaskEntryDN() |
| | | { |
| | | assert debugEnter(CLASS_NAME, "getRecurringTaskEntryDN"); |
| | | |
| | | return recurringTaskEntryDN; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * Retrieves the entry containing the data for this recurring task. |
| | | * |
| | | * @return The entry containing the data for this recurring task. |