public class CLIContext
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CLIContext.Builder |
Modifier and Type | Method and Description |
---|---|
static CLIContext.Builder |
builder() |
boolean |
confirm(java.lang.String prompt) |
java.lang.String |
getActiveSubSystem() |
CLI |
getCLI() |
java.io.OutputStream |
getErrorStream() |
java.io.InputStream |
getInputStream() |
java.io.OutputStream |
getOutputStream() |
org.jline.reader.LineReader |
getReader() |
java.util.Map<java.lang.Object,java.lang.Object> |
getUserData() |
boolean |
isInteractive() |
boolean |
isStopped() |
void |
print(java.lang.String s) |
void |
println(java.lang.String s) |
void |
printLoggeable(Loggeable l,
java.lang.String indent) |
void |
printThrowable(java.lang.Throwable t) |
void |
printUserData() |
java.lang.String |
readSecurely(java.lang.String prompt) |
void |
setActiveSubSystem(java.lang.String subSystem) |
void |
setReader(org.jline.reader.LineReader reader) |
void |
setStopped(boolean stopped) |
public java.lang.String getActiveSubSystem()
public void setActiveSubSystem(java.lang.String subSystem)
public boolean isStopped()
public void setStopped(boolean stopped)
public org.jline.reader.LineReader getReader()
public void setReader(org.jline.reader.LineReader reader)
public java.io.OutputStream getOutputStream()
public java.io.OutputStream getErrorStream()
public java.io.InputStream getInputStream()
public java.util.Map<java.lang.Object,java.lang.Object> getUserData()
public boolean isInteractive()
public CLI getCLI()
public void printUserData()
public void printThrowable(java.lang.Throwable t)
public void printLoggeable(Loggeable l, java.lang.String indent)
public void print(java.lang.String s)
public void println(java.lang.String s)
public boolean confirm(java.lang.String prompt)
public java.lang.String readSecurely(java.lang.String prompt)
public static CLIContext.Builder builder()