A B C E F G L O R S T
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
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 optionally to the mojo logger.
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, ? extends Object>, ExecutionLogger, String, boolean) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
- ExecutionLogger - Interface in org.apache.maven.shared.scriptinterpreter
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(File) - Constructor for class org.apache.maven.shared.scriptinterpreter.FileLogger
-
Creates a new logger that writes to the specified file.
- FileLogger(File, Log) - Constructor for class org.apache.maven.shared.scriptinterpreter.FileLogger
-
Creates a new logger that writes to the specified file and optionally mirrors messages to the given mojo logger.
- finalize() - Method in class org.apache.maven.shared.scriptinterpreter.FileLogger
-
Closes the underlying file stream.
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.
- getLog() - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Gets the mojo logger.
- 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.
- getType() - Method in exception org.apache.maven.shared.scriptinterpreter.RunFailureException
-
Returns the type of build failure.
- 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
- log - Variable in class org.apache.maven.shared.scriptinterpreter.FileLogger
-
The optional mojo logger to additionally write messages to, can be
null
. - log - Variable in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
The mojo logger to print diagnostic to, never
null
.
O
- org.apache.maven.shared.scriptinterpreter - package org.apache.maven.shared.scriptinterpreter
R
- resolveScript(File) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Gets the effective path to the specified script.
- run(String, File, String, Map<String, ? extends Object>, ExecutionLogger, String, boolean) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Runs the specified hook script (after resolution).
- run(String, File, Map<String, ? extends Object>, ExecutionLogger, String, boolean) - Method in class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Runs the specified hook script.
- RunErrorException - Exception in org.apache.maven.shared.scriptinterpreter
-
Signals an error in a sub build run by the Invoker Plugin.
- RunErrorException(String, String, Throwable) - Constructor for exception org.apache.maven.shared.scriptinterpreter.RunErrorException
-
Creates a new exception with the specified detail message.
- RunFailureException - Exception in org.apache.maven.shared.scriptinterpreter
-
Signals a failure of a sub build run by the Invoker Plugin.
- RunFailureException(String, String) - Constructor for exception org.apache.maven.shared.scriptinterpreter.RunFailureException
-
Creates a new exception with the specified detail message.
S
- ScriptEvaluationException - Exception in org.apache.maven.shared.scriptinterpreter
-
Signals an error during parsing/evaluation of a script.
- ScriptEvaluationException(Throwable) - Constructor for exception org.apache.maven.shared.scriptinterpreter.ScriptEvaluationException
-
Creates a new exception with the specified 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.
- 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
. - ScriptRunner - Class in org.apache.maven.shared.scriptinterpreter
-
Runs pre-/post-build hook scripts.
- ScriptRunner(Log) - Constructor for class org.apache.maven.shared.scriptinterpreter.ScriptRunner
-
Creates a new script runner.
- serialVersionUID - Static variable in exception org.apache.maven.shared.scriptinterpreter.RunErrorException
-
The serial version identifier for this class.
- serialVersionUID - Static variable in exception org.apache.maven.shared.scriptinterpreter.RunFailureException
-
The serial version identifier for this class.
- serialVersionUID - Static variable in exception org.apache.maven.shared.scriptinterpreter.ScriptEvaluationException
-
The serial version identifier for this class.
- 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.
- shouldFinalize - Variable in class org.apache.maven.shared.scriptinterpreter.FileLogger
-
A flag whether the output stream should be closed during finalization of this logger.
- stream - Variable in class org.apache.maven.shared.scriptinterpreter.FileLogger
-
The underlying file stream this logger writes to.
T
- type - Variable in exception org.apache.maven.shared.scriptinterpreter.RunFailureException
-
The type of the build failure.
All Classes All Packages