public class ShellPrompts extends Object
Constructor and Description |
---|
ShellPrompts() |
Modifier and Type | Method and Description |
---|---|
String |
getPrompt()
Returns the current prompt.
|
void |
popPrompt()
Pop a previously pushed prompt, returning to the previous value.
|
void |
pushPrompt(String prompt)
Push a new prompt to be used by the shell.
|
public void pushPrompt(String prompt)
prompt
- the promptpopPrompt()
public void popPrompt()
pushPrompt(String)
public String getPrompt()