public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
Object |
callClosure(ExecutionContext ctx,
ClosureHolder closure,
Object input)
Calls the closure, creates empty stack trace if it is in available inside the context.
|
Type |
getReturnType(ExecutionContext ctx,
ClosureHolder closure)
Convenience method.
|
public Type getReturnType(ExecutionContext ctx, ClosureHolder closure)
ctx
- closure
- public Object callClosure(ExecutionContext ctx, ClosureHolder closure, Object input) throws ErrorException
ctx
- closure
- input
- ErrorException
Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.