public class Scripting extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Scripting.GroovyScript |
static class |
Scripting.MvelScript |
static interface |
Scripting.Script |
Modifier and Type | Field and Description |
---|---|
protected static Map<String,Scripting.Script> |
cache |
protected static GroovyScripting |
gscripting |
Constructor and Description |
---|
Scripting() |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
initBindings(OperationContext ctx) |
static Expression |
newExpression(String expr) |
static Expression |
newTemplate(String expr) |
static void |
run(OperationContext ctx,
URL script) |
protected static final Map<String,Scripting.Script> cache
protected static final GroovyScripting gscripting
public Scripting()
public static Expression newExpression(String expr)
public static Expression newTemplate(String expr)
public static void run(OperationContext ctx, URL script) throws OperationException, IOException
OperationException
IOException
public static Map<String,Object> initBindings(OperationContext ctx)
Copyright © 2015 Nuxeo SA. All rights reserved.