-
- All Implemented Interfaces:
public class ConsoleManager
-
-
Method Summary
Modifier and Type Method Description static synchronized void
enable()
static void
runCommand(String command)
static void
registerCommand(Object command)
static void
registerNewLogLineRoutine(Routine routine)
static Consumer<Object>
getHelpPageRenderer()
static void
setHelpPageRenderer(Consumer<Object> helpPageRenderer)
static Array<Object>
getCommands()
static String
getInputPrefix()
static void
setInputPrefix(String inputPrefix)
static int
getMaxTabCompleteSize()
static void
setMaxTabCompleteSize(int maxTabCompleteSize)
static Callable<String>
getOutputPrefix()
static void
setOutputPrefix(Callable<String> outputPrefix)
static boolean
isOutputPrefixTime()
static void
setOutputPrefixTime(boolean outputPrefixTime)
static LineReader
getReader()
static Integer
getMaxConsoleLogLines()
static void
setMaxConsoleLogLines(Integer maxConsoleLogLines)
static Terminal
getTerminal()
static Array<String>
getLastLogLines()
static boolean
isEnabled()
-
-
Method Detail
-
enable
static synchronized void enable()
-
runCommand
static void runCommand(String command)
-
registerCommand
static void registerCommand(Object command)
-
registerNewLogLineRoutine
static void registerNewLogLineRoutine(Routine routine)
-
getHelpPageRenderer
static Consumer<Object> getHelpPageRenderer()
-
setHelpPageRenderer
static void setHelpPageRenderer(Consumer<Object> helpPageRenderer)
-
getCommands
static Array<Object> getCommands()
-
getInputPrefix
static String getInputPrefix()
-
setInputPrefix
static void setInputPrefix(String inputPrefix)
-
getMaxTabCompleteSize
static int getMaxTabCompleteSize()
-
setMaxTabCompleteSize
static void setMaxTabCompleteSize(int maxTabCompleteSize)
-
getOutputPrefix
static Callable<String> getOutputPrefix()
-
setOutputPrefix
static void setOutputPrefix(Callable<String> outputPrefix)
-
isOutputPrefixTime
static boolean isOutputPrefixTime()
-
setOutputPrefixTime
static void setOutputPrefixTime(boolean outputPrefixTime)
-
getReader
static LineReader getReader()
-
getMaxConsoleLogLines
static Integer getMaxConsoleLogLines()
-
setMaxConsoleLogLines
static void setMaxConsoleLogLines(Integer maxConsoleLogLines)
-
getTerminal
static Terminal getTerminal()
-
getLastLogLines
static Array<String> getLastLogLines()
-
isEnabled
static boolean isEnabled()
-
-
-
-