com.atlassian.jira.configurator.console
Class ConsoleToolkit
java.lang.Object
com.atlassian.jira.configurator.console.ConsoleToolkit
public class ConsoleToolkit
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleToolkit
public ConsoleToolkit(@Nonnull
ConsoleProvider console)
menuItemAndValue
public String menuItemAndValue(String label,
Object value)
showMenuItem
public void showMenuItem(char key,
String label)
showDefaultMenuItem
public void showDefaultMenuItem(char key,
String label)
showMenuItem
public void showMenuItem(char key,
String label,
char defaultKey)
readMenuChoice
public char readMenuChoice(String menuName)
throws IOException
- Throws:
IOException
askForPassword
public <T> T askForPassword(@Nonnull
String label,
@Nonnull
Validator<T> validator)
throws IOException
- Throws:
IOException
askFor
public <T> T askFor(@Nonnull
String label,
@Nonnull
Validator<T> validator)
throws IOException
- Throws:
IOException
Copyright © 2002-2014 Atlassian. All Rights Reserved.