org.crsh.command
Interface CommandContext

All Known Subinterfaces:
InvocationContext<C,P>
All Known Implementing Classes:
BaseCommandContext, BaseInvocationContext, InnerInvocationContext, InvocationContextImpl

public interface CommandContext

The context of a command.

Version:
$Revision$
Author:
Julien Viet

Method Summary
 Map<String,Object> getAttributes()
          Returns the current shell attributes.
 Map<String,Object> getSession()
          Returns the current shell session.
 

Method Detail

getSession

Map<String,Object> getSession()
Returns the current shell session.

Returns:
the session map

getAttributes

Map<String,Object> getAttributes()
Returns the current shell attributes.

Returns:
the attributes map


Copyright © 2012 eXo Platform SAS. All Rights Reserved.