net.dpml.cli.validation

Interface Validator

public interface Validator

The validation interface for validating argument values(s). A validator can replace the argument string value with a specific class instance e.g. the URLValidator replaces the string value with a java.net.URL instance.

Version: @PROJECT-VERSION@

Author: @PUBLISHER-NAME@

Method Summary
voidvalidate(List values)
Validate the specified values (List of Strings).

Method Detail

validate

public void validate(List values)
Validate the specified values (List of Strings).

Parameters: values The values to validate.

Throws: InvalidArgumentException If any of the specified values are not valid.