All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.bretty.console.view.Validator Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 3.4
Show newest version
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