org.crsh.command
Interface RuntimeContext
- All Known Subinterfaces:
- CommandContext<P>, InvocationContext<P>
- All Known Implementing Classes:
- AbstractInvocationContext, CommandInvokerAdapter, CRaSHProcessContext, CRaSHSession, InvocationContextImpl, PipeLineInvocationContext, RuntimeContextImpl
-
public interface RuntimeContext
The minimum set of services that a command needs for executing properly:
- a session map
- an attribute map
Method Summary |
Map<String,Object> |
getAttributes()
Returns the current attributes. |
Map<String,Object> |
getSession()
Returns the current session. |
getSession
Map<String,Object> getSession()
-
Returns the current session.
-
- Returns:
- the session map
getAttributes
Map<String,Object> getAttributes()
-
Returns the current attributes.
-
- Returns:
- the attributes map
Copyright © 2015 eXo Platform SAS. All Rights Reserved.