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