org.crsh.shell.impl
Class CommandContextImpl
java.lang.Object
org.crsh.shell.impl.CommandContextImpl
- All Implemented Interfaces:
- CommandContext
- Direct Known Subclasses:
- AbstractInvocationContext
class CommandContextImpl
- extends Object
- implements CommandContext
- Version:
- $Revision$
- Author:
- Julien Viet
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attributes
private final Map<String,Object> attributes
- .
CommandContextImpl
CommandContextImpl(Map<String,Object> attributes)
attributes
protected Map<String,Object> attributes(Map<String,Object> attributes)
- Provide an opportunity to subclass to change the attribute map. This implementation returns the same
object by default.
- Parameters:
attributes - the original attributes
- Returns:
- the replaced attributes
getAttributes
public final Map<String,Object> getAttributes()
- Specified by:
getAttributes in interface CommandContext
Copyright © 2012 eXo Platform SAS. All Rights Reserved.