Package hudson.tasks._maven
Class Maven3MojoNote
java.lang.Object
hudson.console.ConsoleNote
hudson.tasks._maven.Maven3MojoNote
- All Implemented Interfaces:
ExtensionPoint
,Describable
,Serializable
Marks the log line that reports that Maven3 is executing a mojo.
It'll look something like this:
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ jobConfigHistory ---or
[INFO] --- gmaven-plugin:1.0-rc-5:generateTestStubs (test-in-groovy) @ jobConfigHistory ---or
[INFO] --- cobertura-maven-plugin:2.4:instrument (report:cobertura) @ sardine ---
- Author:
- Mirko Friedenhagen
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.console.ConsoleNote
INSECURE, POSTAMBLE, POSTAMBLE_STR, PREAMBLE, PREAMBLE_STR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionannotate
(Object context, MarkupText text, int charPos) When the line of a console output that this annotation is attached is read by someone, a newConsoleNote
is de-serialized and this method is invoked to annotate that line.Methods inherited from class hudson.console.ConsoleNote
encode, encodeTo, encodeTo, findPreamble, getDescriptor, readFrom, removeNotes, removeNotes, skip
-
Field Details
-
PATTERN
-
-
Constructor Details
-
Maven3MojoNote
public Maven3MojoNote()
-
-
Method Details
-
annotate
Description copied from class:ConsoleNote
When the line of a console output that this annotation is attached is read by someone, a newConsoleNote
is de-serialized and this method is invoked to annotate that line.- Specified by:
annotate
in classConsoleNote
- Parameters:
context
- The object that owns the console output in question.text
- Represents a line of the console output being annotated.charPos
- The character position in 'text' where this annotation is attached.- Returns:
- if non-null value is returned, this annotator will handle the next line. this mechanism can be used to annotate multiple lines starting at the annotated position.
-