mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
03.12.2007 4698e4fa18f652019b8f06fef1b2b8813446f5e0
opends/src/server/org/opends/server/backends/task/RecurringTask.java
@@ -37,6 +37,7 @@
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;
@@ -63,6 +64,9 @@
  // The DN of the entry that actually defines this task.
  private DN recurringTaskEntryDN;
  // The entry that actually defines this task.
  private Entry recurringTaskEntry;
@@ -97,8 +101,9 @@
    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.
@@ -278,6 +283,20 @@
  /**
   * 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.