Package hudson.console
Class HyperlinkNote
java.lang.Object
hudson.console.ConsoleNote
hudson.console.HyperlinkNote
- All Implemented Interfaces:
- ExtensionPoint,- Describable,- Serializable
- Direct Known Subclasses:
- ModelHyperlinkNote
Turns a text into a hyperlink by specifying the URL separately.
- Since:
- 1.362
- Author:
- Kohsuke Kawaguchi
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Field SummaryFields inherited from class hudson.console.ConsoleNoteINSECURE, POSTAMBLE, POSTAMBLE_STR, PREAMBLE, PREAMBLE_STR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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 newConsoleNoteis de-serialized and this method is invoked to annotate that line.static Stringprotected StringMethods inherited from class hudson.console.ConsoleNoteencode, encodeTo, encodeTo, findPreamble, getDescriptor, readFrom, removeNotes, removeNotes, skip
- 
Constructor Details- 
HyperlinkNote
 
- 
- 
Method Details- 
annotateDescription copied from class:ConsoleNoteWhen the line of a console output that this annotation is attached is read by someone, a newConsoleNoteis de-serialized and this method is invoked to annotate that line.- Specified by:
- annotatein class- ConsoleNote
- 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.
 
- 
extraAttributes
- 
encodeTo
 
-