org.crsh.command.impl
Class BaseCommandContext

java.lang.Object
  extended by org.crsh.command.impl.BaseCommandContext
All Implemented Interfaces:
CommandContext
Direct Known Subclasses:
BaseInvocationContext

public class BaseCommandContext
extends Object
implements CommandContext

Version:
$Revision$
Author:
Julien Viet

Field Summary
private  Map<String,Object> attributes
          .
 
Constructor Summary
BaseCommandContext(Map<String,Object> attributes)
           
 
Method Summary
 Map<String,Object> getAttributes()
          Returns the attributes related to current shell session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributes

private final Map<String,Object> attributes
.

Constructor Detail

BaseCommandContext

public BaseCommandContext(Map<String,Object> attributes)
Method Detail

getAttributes

public final Map<String,Object> getAttributes()
Description copied from interface: CommandContext
Returns the attributes related to current shell session.

Specified by:
getAttributes in interface CommandContext
Returns:
the session attributes


Copyright © 2012 eXo Platform SAS. All Rights Reserved.