From 29be609adb8377a6535926fc33c9f5906a4ec696 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Mon, 17 Sep 2007 15:27:39 +0000
Subject: [PATCH] This commit is for supporting of task scheduling in the future (right now tasks can only be scheduled to start immediately) for tasks that support scheduling. Start time is specified by including -t/--startTime along with a date string of format 'YYYYMMDDhhmmss'.
---
opends/src/server/org/opends/server/tools/tasks/TaskScheduleInformation.java | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/opends/src/server/org/opends/server/tools/tasks/TaskScheduleInformation.java b/opends/src/server/org/opends/server/tools/tasks/TaskScheduleInformation.java
index 77137f0..54e6dd7 100644
--- a/opends/src/server/org/opends/server/tools/tasks/TaskScheduleInformation.java
+++ b/opends/src/server/org/opends/server/tools/tasks/TaskScheduleInformation.java
@@ -30,6 +30,7 @@
import org.opends.server.types.RawAttribute;
import java.util.List;
+import java.util.Date;
/**
* Interface for tools that are capable of scheduling a task remotely
@@ -62,4 +63,10 @@
*/
Class getTaskClass();
+ /**
+ * Gets the date at which this task should be scheduled to start.
+ *
+ * @return date/time at which the task should be scheduled
+ */
+ Date getStartDateTime();
}
--
Gitblit v1.10.0