|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.util.args.ArgumentValueValidator
@Extensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public abstract class ArgumentValueValidator
This class defines an API that may be used to create argument value validators, which can be used to enforce additional constraints on the values provided to an argument.
Constructor Summary | |
---|---|
ArgumentValueValidator()
|
Method Summary | |
---|---|
abstract void |
validateArgumentValue(Argument argument,
java.lang.String valueString)
Examines the value(s) assigned to the provided argument to determine whether they are acceptable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArgumentValueValidator()
Method Detail |
---|
public abstract void validateArgumentValue(Argument argument, java.lang.String valueString) throws ArgumentException
argument
- The argument to which the value is being provided.valueString
- The string representation of the value to be
validated. This value will have already passed any
normal validation performed by the argument.
ArgumentException
- If the provided value is determined to be
unacceptable.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |