Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addScriptInterpreter(String, ScriptInterpreter) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Add new script Interpreter
C
- close() - Method in class org.apache.maven.shared.scriptinterpreter.FileLogger
-
Closes the underlying file stream.
- close() - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Closes this script interpreter and releases any system resources associated with it.
- consumeLine(String) - Method in interface org.apache.maven.shared.scriptinterpreter.ExecutionLogger
-
Consume logging from this component.
- consumeLine(String) - Method in class org.apache.maven.shared.scriptinterpreter.FileLogger
-
Writes the specified line to the log file and invoke
FileLoggerMirrorHandler.consumeOutput(String)
if is given. - consumeOutput(String) - Method in interface org.apache.maven.shared.scriptinterpreter.FileLoggerMirrorHandler
-
Handle output message generated by script interpreter.
E
- evaluateScript(String, Map<String, ?>, PrintStream) - Method in interface org.apache.maven.shared.scriptinterpreter.ScriptInterpreter
-
Evaluates the specified script.
- ExecutionLogger - Interface in org.apache.maven.shared.scriptinterpreter
-
ExecutionLogger interface.
F
- FileLogger - Class in org.apache.maven.shared.scriptinterpreter
-
FileLogger class.
- FileLogger(File) - Constructor for class org.apache.maven.shared.scriptinterpreter.FileLogger
-
Creates a new logger that writes to the specified file.
- FileLogger(File, FileLoggerMirrorHandler) - Constructor for class org.apache.maven.shared.scriptinterpreter.FileLogger
-
Creates a new logger that writes to the specified file and optionally mirrors messages.
- FileLoggerMirrorHandler - Interface in org.apache.maven.shared.scriptinterpreter
-
Handle output form interpreter.
G
- getOutputFile() - Method in class org.apache.maven.shared.scriptinterpreter.FileLogger
-
Gets the path to the output file.
- getPrintStream() - Method in interface org.apache.maven.shared.scriptinterpreter.ExecutionLogger
-
The stream which will catch the output of the
ScriptRunner
. - getPrintStream() - Method in class org.apache.maven.shared.scriptinterpreter.FileLogger
-
Gets the underlying stream used to write message to the log file.
- getResult() - Method in exception class org.apache.maven.shared.scriptinterpreter.ScriptReturnException
-
Retrieve result returned by script.
O
- org.apache.maven.shared.scriptinterpreter - package org.apache.maven.shared.scriptinterpreter
R
- run(String, File, String, Map<String, ?>, ExecutionLogger) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Runs the specified hook script (after resolution).
- run(String, File, Map<String, ?>, ExecutionLogger) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Runs the specified hook script.
S
- ScriptEvaluationException - Exception Class in org.apache.maven.shared.scriptinterpreter
-
Signals an error during parsing/evaluation of a script.
- ScriptEvaluationException(String, Throwable) - Constructor for exception class org.apache.maven.shared.scriptinterpreter.ScriptEvaluationException
-
Creates a new exception with the specified message and cause.
- ScriptException - Exception Class in org.apache.maven.shared.scriptinterpreter
-
Common errors during script running.
- ScriptException(String, Throwable) - Constructor for exception class org.apache.maven.shared.scriptinterpreter.ScriptException
-
Creates a new exception with the specified message and cause.
- ScriptInterpreter - Interface in org.apache.maven.shared.scriptinterpreter
-
Defines a simple abstraction used to plug-in several script interpreters for the pre-/post-build-hooks.
- ScriptReturnException - Exception Class in org.apache.maven.shared.scriptinterpreter
-
Signals an invalid value returned from script execution.
- ScriptRunner - Class in org.apache.maven.shared.scriptinterpreter
-
Runs pre-/post-build hook scripts.
- ScriptRunner() - Constructor for class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Creates a new script runner with BSH and Groovy interpreters.
- setClassPath(List<String>) - Method in interface org.apache.maven.shared.scriptinterpreter.ScriptInterpreter
-
Set class path used by interpreted.
- setClassPath(List<String>) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Sets the additional class path for the hook scripts.
- setGlobalVariable(String, Object) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Sets a global variable for the script interpreter.
- setScriptEncoding(String) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Sets the file encoding of the hook scripts.
All Classes and Interfaces|All Packages|Serialized Form