org.crsh.shell.impl.command
Class RuntimeContextImpl
java.lang.Object
org.crsh.shell.impl.command.RuntimeContextImpl
- All Implemented Interfaces:
- RuntimeContext
public class RuntimeContextImpl
- extends Object
- implements RuntimeContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
private final Map<String,Object> session
- .
attributes
private final Map<String,Object> attributes
- .
RuntimeContextImpl
public RuntimeContextImpl(Map<String,Object> session,
Map<String,Object> attributes)
getSession
public final Map<String,Object> getSession()
- Description copied from interface:
RuntimeContext
- Returns the current session.
- Specified by:
getSession
in interface RuntimeContext
- Returns:
- the session map
getAttributes
public Map<String,Object> getAttributes()
- Description copied from interface:
RuntimeContext
- Returns the current attributes.
- Specified by:
getAttributes
in interface RuntimeContext
- Returns:
- the attributes map
Copyright © 2015 eXo Platform SAS. All Rights Reserved.