org.springframework.shell.InputProvider Maven / Gradle / Ivy
package org.springframework.shell;
/**
* To be implemented by components able to provide a "line" of user input, whether interactively or by batch.
*
* @author Eric Bottard
*/
public interface InputProvider {
/**
* Return text entered by user to invoke commands.
*
* Returning {@literal null} indicates end of input, requesting shell exit.
*/
Input readInput();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy