A B C E F G L M N O R S W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addScriptInterpreter(String, ScriptInterpreter) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Add new script Interpreter
B
- BeanShellScriptInterpreter - Class in org.apache.maven.shared.scriptinterpreter
-
Provides a facade to evaluate BeanShell scripts.
- BeanShellScriptInterpreter() - Constructor for class org.apache.maven.shared.scriptinterpreter.BeanShellScriptInterpreter
C
- classPath - Variable in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
The additional class path for the script interpreter, never
null
. - close() - Method in class org.apache.maven.shared.scriptinterpreter.FileLogger
-
Closes the underlying file stream.
- 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
- encoding - Variable in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
The file encoding of the hook scripts or
null
to use platform encoding. - evaluateScript(String, List<String>, Map<String, ? extends Object>, PrintStream) - Method in class org.apache.maven.shared.scriptinterpreter.BeanShellScriptInterpreter
-
Evaluates the specified script.
- evaluateScript(String, List<String>, Map<String, ? extends Object>, PrintStream) - Method in interface org.apache.maven.shared.scriptinterpreter.ScriptInterpreter
-
Evaluates the specified script.
- executeRun(String, File, Map<String, ?>, ExecutionLogger) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
- ExecutionLogger - Interface in org.apache.maven.shared.scriptinterpreter
-
ExecutionLogger interface.
F
- file - Variable in class org.apache.maven.shared.scriptinterpreter.FileLogger
-
The path to the log file.
- 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.
- FileLogger.MirrorStreamWrapper - Class in org.apache.maven.shared.scriptinterpreter
- FileLogger.NullOutputStream - Class in org.apache.maven.shared.scriptinterpreter
- FileLoggerMirrorHandler - Interface in org.apache.maven.shared.scriptinterpreter
-
Handle output form interpreter.
- flush() - Method in class org.apache.maven.shared.scriptinterpreter.FileLogger.MirrorStreamWrapper
G
- getInterpreter(File) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Determines the script interpreter for the specified script file by looking at its file extension.
- 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 org.apache.maven.shared.scriptinterpreter.ScriptReturnException
-
Retrieve result returned by script.
- globalVariables - Variable in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
The common set of global variables to pass into the script interpreter, never
null
.
L
- lineBuffer - Variable in class org.apache.maven.shared.scriptinterpreter.FileLogger.MirrorStreamWrapper
- LOG - Static variable in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
M
- mirrorHandler - Variable in class org.apache.maven.shared.scriptinterpreter.FileLogger.MirrorStreamWrapper
- MirrorStreamWrapper(OutputStream, FileLoggerMirrorHandler) - Constructor for class org.apache.maven.shared.scriptinterpreter.FileLogger.MirrorStreamWrapper
N
- NullOutputStream() - Constructor for class org.apache.maven.shared.scriptinterpreter.FileLogger.NullOutputStream
O
- org.apache.maven.shared.scriptinterpreter - package org.apache.maven.shared.scriptinterpreter
- out - Variable in class org.apache.maven.shared.scriptinterpreter.FileLogger.MirrorStreamWrapper
R
- resolveScript(File) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Gets the effective path to the specified script.
- result - Variable in exception org.apache.maven.shared.scriptinterpreter.ScriptReturnException
-
Result
- 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 in org.apache.maven.shared.scriptinterpreter
-
Signals an error during parsing/evaluation of a script.
- ScriptEvaluationException(String, Throwable) - Constructor for exception org.apache.maven.shared.scriptinterpreter.ScriptEvaluationException
-
Creates a new exception with the specified message and cause.
- ScriptEvaluationException(Throwable) - Constructor for exception org.apache.maven.shared.scriptinterpreter.ScriptEvaluationException
-
Creates a new exception with the specified cause.
- ScriptException - Exception in org.apache.maven.shared.scriptinterpreter
-
Common errors during script running.
- ScriptException(String) - Constructor for exception org.apache.maven.shared.scriptinterpreter.ScriptException
- ScriptException(String, Throwable) - Constructor for exception org.apache.maven.shared.scriptinterpreter.ScriptException
-
Creates a new exception with the specified message and cause.
- ScriptException(Throwable) - Constructor for exception org.apache.maven.shared.scriptinterpreter.ScriptException
- 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.
- scriptInterpreters - Variable in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
The supported script interpreters, indexed by the lower-case file extension of their associated script files, never
null
. - ScriptReturnException - Exception in org.apache.maven.shared.scriptinterpreter
-
Signals an invalid value returned from script execution.
- ScriptReturnException(String, Object) - Constructor for exception org.apache.maven.shared.scriptinterpreter.ScriptReturnException
-
Creates a new exception with the specified message and result.
- 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.
- serialVersionUID - Static variable in exception org.apache.maven.shared.scriptinterpreter.ScriptEvaluationException
-
The serial version identifier for this class.
- serialVersionUID - Static variable in exception org.apache.maven.shared.scriptinterpreter.ScriptException
- serialVersionUID - Static variable in exception org.apache.maven.shared.scriptinterpreter.ScriptReturnException
- 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.
- stream - Variable in class org.apache.maven.shared.scriptinterpreter.FileLogger
-
The underlying file stream this logger writes to.
W
- write(byte[], int, int) - Method in class org.apache.maven.shared.scriptinterpreter.FileLogger.MirrorStreamWrapper
- write(byte[], int, int) - Method in class org.apache.maven.shared.scriptinterpreter.FileLogger.NullOutputStream
- write(int) - Method in class org.apache.maven.shared.scriptinterpreter.FileLogger.MirrorStreamWrapper
- write(int) - Method in class org.apache.maven.shared.scriptinterpreter.FileLogger.NullOutputStream
All Classes All Packages