org.crsh.lang.impl.groovy
Class ShellBinding

java.lang.Object
  extended by groovy.lang.GroovyObjectSupport
      extended by groovy.lang.Binding
          extended by org.crsh.lang.impl.groovy.ShellBinding
All Implemented Interfaces:
groovy.lang.GroovyObject

 class ShellBinding
extends groovy.lang.Binding

Author:
Julien Viet

Field Summary
private  InvocationContext<Object> current
          .
private  InvocationContext<Object> proxy
           
private  ShellSession session
          .
 
Constructor Summary
ShellBinding(Map variables, ShellSession session)
           
 
Method Summary
 InvocationContext<Object> getCurrent()
           
 Object getVariable(String name)
           
 void setCurrent(InvocationContext<Object> current)
           
 
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
 

Field Detail

session

private final ShellSession session
.


current

private InvocationContext<Object> current
.


proxy

private InvocationContext<Object> proxy
Constructor Detail

ShellBinding

public ShellBinding(Map variables,
                    ShellSession session)
Method Detail

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.