Class Clear
java.lang.Object
org.springframework.shell.core.command.Clear
- All Implemented Interfaces:
Command
ANSI console clear command.
- Author:
- Eric Bottard, Janne Valkealahti, Mahmoud Ben Hassine
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.shell.core.command.Command
Command.Builder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(CommandContext commandContext) Execute the command within the given context.Get a short description of the command.getGroup()Get the group of the command.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.shell.core.command.Command
getAliases, getAvailabilityProvider, getCompletionProvider, getHelp, getName, getOptions, isHidden
-
Constructor Details
-
Clear
public Clear()
-
-
Method Details
-
getDescription
Description copied from interface:CommandGet a short description of the command.- Specified by:
getDescriptionin interfaceCommand- Returns:
- the description of the command
-
getGroup
Description copied from interface:CommandGet the group of the command. -
execute
Description copied from interface:CommandExecute the command within the given context.
-