From 9a8d97c273430b8eb0ab9afc4209f555321da4e8 Mon Sep 17 00:00:00 2001
From: jarnou <jarnou@localhost>
Date: Mon, 09 Jul 2007 16:13:16 +0000
Subject: [PATCH] Bug: 1428 Synopsis: import-ldif could allow to write skipped entries to a specified file
---
opends/src/server/org/opends/server/config/ConfigConstants.java | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/opends/src/server/org/opends/server/config/ConfigConstants.java b/opends/src/server/org/opends/server/config/ConfigConstants.java
index 09ad9cf..ba2e5c2 100644
--- a/opends/src/server/org/opends/server/config/ConfigConstants.java
+++ b/opends/src/server/org/opends/server/config/ConfigConstants.java
@@ -3749,17 +3749,24 @@
NAME_PREFIX_TASK + "import-reject-file";
+ /**
+ * The name of the attribute in an import task definition that specifies
+ * the path to a file into which skipped entries may be written if they
+ * do not match criteria during the import process.
+ */
+ public static final String ATTR_IMPORT_SKIP_FILE =
+ NAME_PREFIX_TASK + "import-skip-file";
+
/**
* The name of the attribute in an import task definition that specifies
- * whether to overwrite an existing rejects file when performing an LDIF
- * import rather than appending to it.
+ * whether to overwrite an existing rejects and/or skip file when performing
+ * an LDIF import rather than appending to it.
*/
- public static final String ATTR_IMPORT_OVERWRITE_REJECTS =
+ public static final String ATTR_IMPORT_OVERWRITE =
NAME_PREFIX_TASK + "import-overwrite-rejects";
-
/**
* The name of the attribute in an import task definition that specifies
* whether to skip schema validation during the import.
--
Gitblit v1.10.0