io.bretty.console.view.Validator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of console-view Show documentation
Show all versions of console-view Show documentation
A Java framework to instantly build the View layer of your command line app. No more worries about anything like
printing menus or validating user inputs. Just focus on your app logic.
package io.bretty.console.view;
/**
* The interface that judges if a certain user input is valid. See the generic user input wrapper method {@link io.bretty.console.view.AbstractView#prompt(String, Class, Validator) prompt()}
* @param The class of expected user input
*/
public interface Validator {
boolean isValid(T t);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy