org.crsh.lang.groovy.shell
Class ShellBinding

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

public class ShellBinding
extends groovy.lang.Binding

Author:
Julien Viet

Field Summary
private  CommandContext<Object> current
          .
private  CommandContext<Object> proxy
           
 
Constructor Summary
ShellBinding(Map variables)
           
 
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

current

private CommandContext<Object> current
.


proxy

private CommandContext<Object> proxy
Constructor Detail

ShellBinding

public ShellBinding(Map variables)
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 © 2013 eXo Platform SAS. All Rights Reserved.