org.crsh.lang.groovy
Class ShellBinding
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Binding
org.crsh.lang.groovy.ShellBinding
- All Implemented Interfaces:
- groovy.lang.GroovyObject
class ShellBinding
- extends groovy.lang.Binding
- Author:
- Julien Viet
| Methods inherited from class groovy.lang.Binding |
getProperty, getVariables, hasVariable, setProperty, setVariable |
| Methods inherited from class groovy.lang.GroovyObjectSupport |
getMetaClass, invokeMethod, setMetaClass |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
private final ReplSession session
- .
current
private CommandContext<Object> current
- .
proxy
private CommandContext<Object> proxy
ShellBinding
public ShellBinding(Map variables,
ReplSession session)
getCurrent
public CommandContext<Object> getCurrent()
setCurrent
public void setCurrent(CommandContext<Object> current)
getVariable
public Object getVariable(String name)
- Overrides:
getVariable in class groovy.lang.Binding
Copyright © 2014 eXo Platform SAS. All Rights Reserved.