Package io.inversion.script
Class ScriptAction
java.lang.Object
io.inversion.Rule<A>
io.inversion.Action<ScriptAction>
io.inversion.script.ScriptAction
- All Implemented Interfaces:
Comparable<ScriptAction>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class io.inversion.Rule
io.inversion.Rule.RuleMatcher -
Field Summary
FieldsFields inherited from class io.inversion.Rule
ALL_METHODS, configMap, description, excludeMatchers, excludeOn, includeMatchers, includeOn, name, order, params -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.inversion.json.JSNodefindScript(String path) LinkedHashMap<String,io.inversion.json.JSNode> findScripts(io.inversion.Request req) voidrun(io.inversion.Request req, io.inversion.Response res) voidsetScriptsCollection(String scriptsCollection) withScriptsDir(String scriptsDir) Methods inherited from class io.inversion.Action
configureOp, doDelete, doGet, doPatch, doPost, doPut, getFullIncludePaths, getIncludePaths, isDecoration, joinPaths, joinPaths0, run0, withDecorationMethods inherited from class io.inversion.Rule
afterWiringComplete, checkLazyConfig, compareTo, doLazyConfig, getAllExcludePaths, getAllIncludeMethods, getAllIncludePaths, getDefaultIncludeMatchers, getDescription, getExcludeMatchers, getIncludeMatchers, getName, getOrder, getParams, match, match, matches, matches, toString, withDescription, withExcludeOn, withExcludeOn, withIncludeOn, withIncludeOn, withName, withOrder, withParam, withParams
-
Field Details
-
log
protected final org.slf4j.Logger log
-
-
Constructor Details
-
ScriptAction
public ScriptAction()
-
-
Method Details
-
findScript
-
run
public void run(io.inversion.Request req, io.inversion.Response res) throws io.inversion.ApiException - Overrides:
runin classio.inversion.Action<ScriptAction>- Throws:
io.inversion.ApiException
-
findScripts
public LinkedHashMap<String,io.inversion.json.JSNode> findScripts(io.inversion.Request req) throws io.inversion.ApiException - Throws:
io.inversion.ApiException
-
getScriptsCollection
-
setScriptsCollection
-
getScriptsDir
-
withScriptsDir
-