hudson.console
Class ModelHyperlinkNote

java.lang.Object
  extended by hudson.console.ConsoleNote
      extended by hudson.console.HyperlinkNote
          extended by 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
static class ModelHyperlinkNote.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.console.ConsoleNote
POSTAMBLE, POSTAMBLE_STR, PREAMBLE, PREAMBLE_STR
 
Constructor Summary
ModelHyperlinkNote(String url, int length)
           
 
Method Summary
static String encodeTo(Item item)
           
static String encodeTo(Item item, String text)
           
static String encodeTo(Node node)
           
static String encodeTo(Run r)
           
static String encodeTo(String url, String text)
           
static String encodeTo(User u)
           
static String encodeTo(User u, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelHyperlinkNote

public ModelHyperlinkNote(String url,
                          int length)
Method Detail

extraAttributes

protected String extraAttributes()
Overrides:
extraAttributes in class HyperlinkNote

encodeTo

public static String encodeTo(User u)

encodeTo

public static String encodeTo(User u,
                              String text)

encodeTo

public static String encodeTo(Item item)

encodeTo

public static String encodeTo(Item item,
                              String text)

encodeTo

public static String encodeTo(Run r)

encodeTo

public static String encodeTo(Node node)

encodeTo

public static String encodeTo(String url,
                              String text)


Copyright © 2004-2013. All Rights Reserved.