class ClosureDelegate extends groovy.lang.GroovyObjectSupport
Modifier and Type | Field and Description |
---|---|
private CommandContext |
context
.
|
private Object |
owner
.
|
Constructor and Description |
---|
ClosureDelegate(CommandContext context,
Object owner) |
Modifier and Type | Method and Description |
---|---|
CommandContext |
getContext() |
Object |
getProperty(String property) |
Object |
invokeMethod(String name,
Object args) |
private final CommandContext context
public ClosureDelegate(CommandContext context, Object owner)
public CommandContext getContext()
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
getProperty
in class groovy.lang.GroovyObjectSupport
public Object invokeMethod(String name, Object args)
invokeMethod
in interface groovy.lang.GroovyObject
invokeMethod
in class groovy.lang.GroovyObjectSupport
Copyright © 2015 eXo Platform SAS. All Rights Reserved.