com.atlassian.jira.configurator.console
Interface ConsoleProvider
- All Known Implementing Classes:
- DeviceConsoleProvider, StreamConsoleProvider
public interface ConsoleProvider
- Since:
- v5.1
readLine
String readLine()
throws IOException
- Throws:
IOException
readLine
String readLine(String prompt)
throws IOException
- Throws:
IOException
readYesNo
boolean readYesNo(String prompt,
boolean defaultValue)
throws IOException
- Throws:
IOException
readPassword
String readPassword(String prompt)
throws IOException
- Throws:
IOException
readFirstChar
char readFirstChar(String prompt)
throws IOException
- Throws:
IOException
print
void print(String text)
println
void println()
println
void println(String text)
printErrorMessage
void printErrorMessage(String errorMessage)
printErrorMessage
void printErrorMessage(Throwable ex)
flush
void flush()
Copyright © 2002-2014 Atlassian. All Rights Reserved.