org.crsh.lang.impl.groovy.closure
Class ClosureDelegate
java.lang.Object
groovy.lang.GroovyObjectSupport
org.crsh.lang.impl.groovy.closure.ClosureDelegate
- All Implemented Interfaces:
- groovy.lang.GroovyObject
-
class ClosureDelegate
- extends groovy.lang.GroovyObjectSupport
-
- Author:
- Julien Viet
Methods inherited from class groovy.lang.GroovyObjectSupport |
getMetaClass, setMetaClass, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
private final CommandContext context
-
.
owner
private final Object owner
-
.
ClosureDelegate
public ClosureDelegate(CommandContext context,
Object owner)
getContext
public CommandContext getContext()
-
getProperty
public Object getProperty(String property)
-
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
- Overrides:
getProperty
in class groovy.lang.GroovyObjectSupport
-
invokeMethod
public Object invokeMethod(String name,
Object args)
-
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
- Overrides:
invokeMethod
in class groovy.lang.GroovyObjectSupport
-
Copyright © 2015 eXo Platform SAS. All Rights Reserved.