Package com.xebialabs.deployit.setup
Class SetupHelperMethods
java.lang.Object
com.xebialabs.deployit.setup.SetupHelperMethods
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdeterminePrompt(String defaultValue) static booleangetBooleanResponse(boolean defaultValue) static Stringstatic StringgetPasswordResponse(String prompt) static StringgetStringResponse(String defaultValue) static StringgetStringResponseWithRetry(String message) static intgetValidIntegerResponse(int defaultValueAsAnInt) static StringgetValidNotEmptyStringResponse(String defaultValue) static voidstatic Stringread()
-
Field Details
-
EXITSETUP_KEYWORD
- See Also:
-
-
Method Details
-
printEmptyLine
public static void printEmptyLine() -
read
-
getBooleanResponse
public static boolean getBooleanResponse(boolean defaultValue) -
getValidNotEmptyStringResponse
-
getStringResponse
-
getConfirmedPassword
-
getPasswordResponse
-
getValidIntegerResponse
public static int getValidIntegerResponse(int defaultValueAsAnInt) -
getStringResponseWithRetry
-
determinePrompt
-