类 ShellPrompts
- java.lang.Object
- org.springframework.boot.cli.command.shell.ShellPrompts
public class ShellPrompts extends Object
Abstraction to manage a stack of prompts.
构造器概要
构造器 构造器 说明 ShellPrompts()
构造器详细资料
ShellPrompts
public ShellPrompts()
方法详细资料
pushPrompt
public void pushPrompt(String prompt)
Push a new prompt to be used by the shell.- 参数:
prompt
- the prompt- 另请参阅:
popPrompt()
popPrompt
public void popPrompt()
Pop a previously pushed prompt, returning to the previous value.- 另请参阅:
pushPrompt(String)