public class ScriptResolver extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ScriptResolver.ScriptResolutionException |
| Constructor and Description |
|---|
ScriptResolver() |
| Modifier and Type | Method and Description |
|---|---|
static SqlScriptSource |
classPathFile(String path)
Deprecated.
in favor of
classPathScript(String) |
static List<SqlScriptSource> |
classPathFiles(String pattern)
Deprecated.
in favor of
classPathScripts(String) |
static SqlScriptSource |
classPathScript(String path)
Locates a single classPathFile in a classpath, ex.
|
static List<SqlScriptSource> |
classPathScripts(String pattern)
Locates classPathFiles matching pattern, ordered using natural alphanumeric order
Note: Supports only wildcards ('*') and only in file names for matching
|
public static List<SqlScriptSource> classPathScripts(String pattern)
pattern - ex. 'db/*.sql'public static SqlScriptSource classPathScript(String path)
path - path to file@Deprecated public static SqlScriptSource classPathFile(String path)
classPathScript(String)path - path to file@Deprecated public static List<SqlScriptSource> classPathFiles(String pattern)
classPathScripts(String)pattern - ex. 'db/*.sql'Copyright © 2017. All rights reserved.