@Extension(ordinal=700.0) public static class SnippetizerLink.OnlineDocsLink extends SnippetizerLink
SnippetizerLink.ExamplesLink, SnippetizerLink.GDSLLink, SnippetizerLink.GeneratorLink, SnippetizerLink.GlobalsReferenceLink, SnippetizerLink.OnlineDocsLink, SnippetizerLink.StepReferenceLink
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
OnlineDocsLink() |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Get the display name for the link.
|
String |
getUrl()
Get the URL this link should point to, which will be used by
SnippetizerLink.getDisplayUrl() . |
boolean |
inNewWindow()
Check whether the link should target a new window - this defaults to false;
|
getDisplayUrl, getIcon
@Nonnull public String getUrl()
SnippetizerLink
SnippetizerLink.getDisplayUrl()
. If this is not absolute,
SnippetizerLink.getDisplayUrl()
will link to this within the current context.getUrl
in class SnippetizerLink
@Nonnull public String getDisplayName()
SnippetizerLink
getDisplayName
in class SnippetizerLink
public boolean inNewWindow()
SnippetizerLink
inNewWindow
in class SnippetizerLink
Copyright © 2016–2020. All rights reserved.