org.crsh.lang.impl.groovy
Class ShellBinding
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Binding
org.crsh.lang.impl.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 ShellSession session
- .
current
private InvocationContext<Object> current
- .
proxy
private InvocationContext<Object> proxy
ShellBinding
public ShellBinding(Map variables,
ShellSession session)
getCurrent
public InvocationContext<Object> getCurrent()
setCurrent
public void setCurrent(InvocationContext<Object> current)
getVariable
public Object getVariable(String name)
- Overrides:
getVariable
in class groovy.lang.Binding
Copyright © 2015 eXo Platform SAS. All Rights Reserved.