org.crsh.command
Interface CommandContext

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

public interface CommandContext

The minimum set of services that a command needs for executing properly:


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 © 2013 eXo Platform SAS. All Rights Reserved.