public abstract static class Groovy.Script
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_APP_PATH |
static java.lang.String |
DEFAULT_BINDINGS_PATH |
static java.lang.String |
DEFAULT_HANDLERS_PATH |
| Modifier and Type | Method and Description |
|---|---|
static Action<? super RatpackServerSpec> |
app() |
static Action<? super RatpackServerSpec> |
app(boolean staticCompile) |
static Action<? super RatpackServerSpec> |
app(boolean compileStatic,
java.nio.file.Path script) |
static Action<? super RatpackServerSpec> |
app(boolean staticCompile,
java.lang.String... scriptPaths) |
static Action<? super RatpackServerSpec> |
app(java.nio.file.Path script) |
static Function<Registry,Registry> |
bindings() |
static Function<Registry,Registry> |
bindings(boolean staticCompile) |
static Function<Registry,Registry> |
bindings(boolean staticCompile,
java.lang.String scriptPath) |
static void |
checkGroovy() |
static Function<Registry,Handler> |
handlers() |
static Function<Registry,Handler> |
handlers(boolean staticCompile) |
static Function<Registry,Handler> |
handlers(boolean staticCompile,
java.lang.String scriptPath) |
public static final java.lang.String DEFAULT_HANDLERS_PATH
public static final java.lang.String DEFAULT_BINDINGS_PATH
public static final java.lang.String DEFAULT_APP_PATH
public static void checkGroovy()
public static Action<? super RatpackServerSpec> app()
public static Action<? super RatpackServerSpec> app(boolean staticCompile)
public static Action<? super RatpackServerSpec> app(java.nio.file.Path script)
public static Action<? super RatpackServerSpec> app(boolean compileStatic, java.nio.file.Path script)
public static Action<? super RatpackServerSpec> app(boolean staticCompile, java.lang.String... scriptPaths)
public static Function<Registry,Handler> handlers(boolean staticCompile, java.lang.String scriptPath)