Class DefaultShellContext
java.lang.Object
org.springframework.shell.context.DefaultShellContext
- All Implemented Interfaces:
ShellContext
Default implementation of a
ShellContext
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets an interaction mode.void
setInteractionMode
(InteractionMode interactionMode) Sets an interaction mode.
-
Constructor Details
-
DefaultShellContext
public DefaultShellContext()
-
-
Method Details
-
getInteractionMode
Description copied from interface:ShellContext
Gets an interaction mode.- Specified by:
getInteractionMode
in interfaceShellContext
- Returns:
- a current interaction mode
-
setInteractionMode
Description copied from interface:ShellContext
Sets an interaction mode.- Specified by:
setInteractionMode
in interfaceShellContext
- Parameters:
interactionMode
- the interaction mode
-