Package hudson.console
Class ModelHyperlinkNote
- java.lang.Object
-
- hudson.console.ConsoleNote
-
- hudson.console.HyperlinkNote
-
- hudson.console.ModelHyperlinkNote
-
- All Implemented Interfaces:
ExtensionPoint
,Describable
,Serializable
public class ModelHyperlinkNote extends HyperlinkNote
HyperlinkNote
that links to a model object, which in the UI gets rendered with context menu and etc.- Since:
- 1.464
- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelHyperlinkNote.DescriptorImpl
-
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
Constructors Constructor Description ModelHyperlinkNote(String url, int length)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
encodeTo(Item item)
static String
encodeTo(Item item, String text)
static String
encodeTo(Label label)
static String
encodeTo(Node node)
static String
encodeTo(Run r)
static String
encodeTo(User u)
static String
encodeTo(User u, String text)
static String
encodeTo(String url, String text)
protected String
extraAttributes()
-
Methods inherited from class hudson.console.HyperlinkNote
annotate
-
Methods inherited from class hudson.console.ConsoleNote
encode, encodeTo, encodeTo, findPreamble, getDescriptor, readFrom, removeNotes, removeNotes, skip
-
-
-
-
Constructor Detail
-
ModelHyperlinkNote
public ModelHyperlinkNote(String url, int length)
-
-
Method Detail
-
extraAttributes
protected String extraAttributes()
- Overrides:
extraAttributes
in classHyperlinkNote
-
-