From 0d1131524cfbba81cafaab90ffcda86af50c1682 Mon Sep 17 00:00:00 2001
From: kenneth_suter <kenneth_suter@localhost>
Date: Tue, 02 Oct 2007 16:38:40 +0000
Subject: [PATCH] Partially addressed issues 2335 and 2336 which call for support of task notifications and dependencies in client task scheduling tools.

---
 opends/src/server/org/opends/server/tools/ToolConstants.java |   70 +++++++++++++++++++++++++++++++++++
 1 files changed, 70 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/tools/ToolConstants.java b/opends/src/server/org/opends/server/tools/ToolConstants.java
index 89148d9..9e9469d 100644
--- a/opends/src/server/org/opends/server/tools/ToolConstants.java
+++ b/opends/src/server/org/opends/server/tools/ToolConstants.java
@@ -832,5 +832,75 @@
    * Long form of option specifying no wrapping of the command-line.
    */
   public static final String OPTION_LONG_DONT_WRAP = "dontWrap";
+
+
+  /**
+   * Long form of email notification upon completion option.
+   */
+  public static final String OPTION_LONG_COMPLETION_NOTIFICATION_EMAIL =
+          "completionNotify";
+
+  /**
+   * Short form of email notification upon completion option.
+   */
+  public static final Character OPTION_SHORT_COMPLETION_NOTIFICATION_EMAIL =
+          null;
+
+
+  /**
+   * Long form of email notification upon error option.
+   */
+  public static final String OPTION_LONG_ERROR_NOTIFICATION_EMAIL =
+          "errorNotify";
+
+
+  /**
+   * Short form of email notification upon error option.
+   */
+  public static final Character OPTION_SHORT_ERROR_NOTIFICATION_EMAIL =
+          null;
+
+
+  /**
+   * Long form of dependency option.
+   */
+  public static final String OPTION_LONG_DEPENDENCY = "dependency";
+
+
+  /**
+   * Short form of dependency option.
+   */
+  public static final Character OPTION_SHORT_DEPENDENCY = null;
+
+
+  /**
+   * Long form of failed dependency action option.
+   */
+  public static final String OPTION_LONG_FAILED_DEPENDENCY_ACTION =
+          "failedDependencyAction";
+
+
+  /**
+   * Short form of failed dependency action option.
+   */
+  public static final Character OPTION_SHORT_FAILED_DEPENDENCY_ACTION = null;
+
+
+  /**
+   * Value placeholder for options taking email addresses.
+   */
+  public static final String OPTION_VALUE_EMAIL_ADDRESS = "{emailAddress}";
+
+
+  /**
+   * Value placeholder for options taking task IDs.
+   */
+  public static final String OPTION_VALUE_TASK_ID = "{taskId}";
+
+
+  /**
+   * Value placeholder for options taking actions.
+   */
+  public static final String OPTION_VALUE_ACTION = "{action}";
 }
 

--
Gitblit v1.10.0