org.sonatype.gshell.util.io
Interface PromptReader.Validator

Enclosing class:
PromptReader

public static interface PromptReader.Validator

Allows caller to customize the validation behavior when prompting.


Method Summary
 boolean isValid(String value)
          Determine if the given value is valid.
 

Method Detail

isValid

boolean isValid(String value)
Determine if the given value is valid. If the value is not valid then we will prompt the user again.



Copyright © 2008-2011 Sonatype. All Rights Reserved.