public class ExpandableDetailsNote extends ConsoleNote
Useful if you want the user to be able to see additional details.
| Modifier and Type | Class and Description |
|---|---|
static class |
ExpandableDetailsNote.DescriptorImpl |
ExtensionPoint.LegacyInstancesAreScopedToHudsonPOSTAMBLE, POSTAMBLE_STR, PREAMBLE, PREAMBLE_STR| Constructor and Description |
|---|
ExpandableDetailsNote(String caption,
String html) |
| 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 buttonCaption,
String html) |
encode, encodeTo, encodeTo, findPreamble, getDescriptor, readFrom, removeNotes, removeNotes, skippublic ConsoleAnnotator annotate(Object context, MarkupText text, int charPos)
ConsoleNoteConsoleNote is de-serialized and this method is invoked to annotate that line.annotate in class ConsoleNotecontext - 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.Copyright © 2019. All rights reserved.