Package org.jboss.as.cli
Interface ColorConfig
-
public interface ColorConfigA representation of the CLI color configuration- Author:
- Ingo Weiss
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.aesh.readline.terminal.formatting.ColorgetErrorColor()org.aesh.readline.terminal.formatting.ColorgetPromptColor()org.aesh.readline.terminal.formatting.ColorgetRequiredColor()org.aesh.readline.terminal.formatting.ColorgetSuccessColor()org.aesh.readline.terminal.formatting.ColorgetWarnColor()org.aesh.readline.terminal.formatting.ColorgetWorkflowColor()booleanisEnabled()
-
-
-
Method Detail
-
isEnabled
boolean isEnabled()
- Returns:
- If color output if desired
-
getErrorColor
org.aesh.readline.terminal.formatting.Color getErrorColor()
- Returns:
- The color of error messages
-
getWarnColor
org.aesh.readline.terminal.formatting.Color getWarnColor()
- Returns:
- The color of warning messages
-
getSuccessColor
org.aesh.readline.terminal.formatting.Color getSuccessColor()
- Returns:
- The color of success messages
-
getRequiredColor
org.aesh.readline.terminal.formatting.Color getRequiredColor()
- Returns:
- The color of required autocompletion parameters
-
getWorkflowColor
org.aesh.readline.terminal.formatting.Color getWorkflowColor()
- Returns:
- The color of batch and workflow prompts
-
getPromptColor
org.aesh.readline.terminal.formatting.Color getPromptColor()
- Returns:
- The color of the prompt
-
-