org.crsh.lang.groovy
Class ShellBinding

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

 class ShellBinding
extends groovy.lang.Binding

Author:
Julien Viet

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


current

private CommandContext<Object> current
.


proxy

private CommandContext<Object> proxy
Constructor Detail

ShellBinding

public ShellBinding(Map variables,
                    ReplSession session)
Method Detail

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.