org.crsh.shell
Interface Shell

All Known Implementing Classes:
AsyncShell, CRaSH

public interface Shell

Version:
$Revision$
Author:
Julien Viet

Method Summary
 Map<String,String> complete(String prefix)
          Completion.
 String getPrompt()
          Returns the shell prompt.
 String getWelcome()
          Returns the welcome message.
 void process(String request, ShellProcessContext processContext)
          Process a request.
 

Method Detail

getWelcome

String getWelcome()
Returns the welcome message.

Returns:
the welcome message

getPrompt

String getPrompt()
Returns the shell prompt.

Returns:
the shell prompt

process

void process(String request,
             ShellProcessContext processContext)
Process a request.

Parameters:
request - the request to process
processContext - the process context

complete

Map<String,String> complete(String prefix)
Completion.

Parameters:
prefix - the prefix to complete
Returns:
the sorted list of available suffixes


Copyright © 2011 eXo Platform SAS. All Rights Reserved.