com.atlassian.jira.configurator.console
Interface ConsoleProvider

All Known Implementing Classes:
DeviceConsoleProvider, StreamConsoleProvider

public interface ConsoleProvider

Since:
v5.1

Nested Class Summary
static class ConsoleProvider.Factory
           
 
Method Summary
 void flush()
           
 void print(String text)
           
 void printErrorMessage(String errorMessage)
           
 void printErrorMessage(Throwable ex)
           
 void println()
           
 void println(String text)
           
 char readFirstChar(String prompt)
           
 String readLine()
           
 String readLine(String prompt)
           
 String readPassword(String prompt)
           
 boolean readYesNo(String prompt, boolean defaultValue)
           
 

Method Detail

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-2013 Atlassian. All Rights Reserved.