net.dpml.cli.validation
Interface Validator

All Known Implementing Classes:
ClassValidator, DateValidator, EnumValidator, FileValidator, NumberValidator, URIValidator, URLValidator

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 URL instance.

Version:
@PROJECT-VERSION@
Author:
@PUBLISHER-NAME@

Method Summary
 void validate(java.util.List values)
          Validate the specified values (List of Strings).
 

Method Detail

validate

void validate(java.util.List values)
              throws InvalidArgumentException
Validate the specified values (List of Strings).

Parameters:
values - The values to validate.
Throws:
InvalidArgumentException - If any of the specified values are not valid.