org.sonatype.gshell.console
Interface ConsolePrompt

All Known Implementing Classes:
ShellPrompt

public interface ConsolePrompt

Provides prompt customization.

Since:
2.0
Author:
Jason Dillon

Field Summary
static String DEFAULT_PROMPT
          The default prompt used, when prompt() returns a null value.
 
Method Summary
 String prompt()
          Render the prompt which the console should display for input.
 

Field Detail

DEFAULT_PROMPT

static final String DEFAULT_PROMPT
The default prompt used, when prompt() returns a null value.

See Also:
Constant Field Values
Method Detail

prompt

String prompt()
Render the prompt which the console should display for input.

Returns:
The console prompt or null for the DEFAULT_PROMPT.


Copyright © 2008-2011 Sonatype. All Rights Reserved.