public class HyperlinkNote extends ConsoleNote
ModelHyperlinkNote
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
HyperlinkNote.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudson
INSECURE, POSTAMBLE, POSTAMBLE_STR, PREAMBLE, PREAMBLE_STR
Constructor and Description |
---|
HyperlinkNote(String url,
int length) |
Modifier and Type | Method and Description |
---|---|
ConsoleAnnotator |
annotate(Object context,
MarkupText text,
int charPos)
When the line of a console output that this annotation is attached is read by someone,
a new
ConsoleNote is de-serialized and this method is invoked to annotate that line. |
static String |
encodeTo(String url,
String text) |
protected String |
extraAttributes() |
encode, encodeTo, encodeTo, findPreamble, getDescriptor, readFrom, removeNotes, removeNotes, skip
public HyperlinkNote(String url, int length)
public ConsoleAnnotator annotate(Object context, MarkupText text, int charPos)
ConsoleNote
ConsoleNote
is de-serialized and this method is invoked to annotate that line.annotate
in class ConsoleNote
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.protected String extraAttributes()
Copyright © 2004–2022. All rights reserved.