From e0e6d30a905e47931a89b7e9063d752a6f28106d Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 05 Feb 2014 22:45:49 +0000
Subject: [PATCH] OPENDJ-1235: Migrate configuration framework
---
opendj-config/src/main/java/org/forgerock/opendj/config/PropertyDefinition.java | 12 ++++--------
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/opendj-config/src/main/java/org/forgerock/opendj/config/PropertyDefinition.java b/opendj-config/src/main/java/org/forgerock/opendj/config/PropertyDefinition.java
index e0d30fd..4ec9ec1 100644
--- a/opendj-config/src/main/java/org/forgerock/opendj/config/PropertyDefinition.java
+++ b/opendj-config/src/main/java/org/forgerock/opendj/config/PropertyDefinition.java
@@ -244,7 +244,7 @@
* <p>
* This method only casts the object to the required type; it does not
* validate the value once it has been cast. Subsequent validation should be
- * performed using the method {@link #validateValue(Object, PropertyDefinitionsOptions)}.
+ * performed using the method {@link #validateValue(Object)}.
* <p>
* This method guarantees the following expression is always
* <code>true</code>:
@@ -318,13 +318,11 @@
*
* @param value
* The property string value (must not be <code>null</code>).
- * @param options
- * Options to use when decoding value.
* @return Returns the decoded property value.
* @throws PropertyException
* If the property value string is invalid.
*/
- public abstract T decodeValue(String value, PropertyDefinitionsOptions options);
+ public abstract T decodeValue(String value);
/**
* Encode the provided property value into its string representation.
@@ -510,7 +508,7 @@
* This method may throw an exception if the provided value is invalid.
* However, applications should not assume that implementations of this
* method will always validate a value. This task is the responsibility of
- * {@link #validateValue(Object, PropertyDefinitionsOptions)}.
+ * {@link #validateValue(Object)}.
* <p>
* This default implementation simply returns the string representation of
* the provided value. Sub-classes might want to override this method if
@@ -564,12 +562,10 @@
*
* @param value
* The property value (must not be <code>null</code>).
- * @param options
- * Options to use when decoding value.
* @throws PropertyException
* If the property value is invalid.
*/
- public abstract void validateValue(T value, PropertyDefinitionsOptions options);
+ public abstract void validateValue(T value);
/**
* Performs any run-time initialization required by this property
--
Gitblit v1.10.0