Class SnippetizerLink.OnlineDocsLink
java.lang.Object
org.jenkinsci.plugins.workflow.cps.SnippetizerLink
org.jenkinsci.plugins.workflow.cps.SnippetizerLink.OnlineDocsLink
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- SnippetizerLink
@Extension(ordinal=700.0)
public static class SnippetizerLink.OnlineDocsLink
extends SnippetizerLink
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.cps.SnippetizerLink
SnippetizerLink.ExamplesLink, SnippetizerLink.GDSLLink, SnippetizerLink.GeneratorLink, SnippetizerLink.GlobalsReferenceLink, SnippetizerLink.OnlineDocsLink, SnippetizerLink.StepReferenceLinkNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the display name for the link.getUrl()Get the URL this link should point to, which will be used bySnippetizerLink.getDisplayUrl().booleanCheck whether the link should target a new window - this defaults to false;Methods inherited from class org.jenkinsci.plugins.workflow.cps.SnippetizerLink
getDisplayUrl, getIcon
-
Constructor Details
-
OnlineDocsLink
public OnlineDocsLink()
-
-
Method Details
-
getUrl
Description copied from class:SnippetizerLinkGet the URL this link should point to, which will be used bySnippetizerLink.getDisplayUrl(). If this is not absolute,SnippetizerLink.getDisplayUrl()will link to this within the current context.- Specified by:
getUrlin classSnippetizerLink
-
getDisplayName
Description copied from class:SnippetizerLinkGet the display name for the link.- Specified by:
getDisplayNamein classSnippetizerLink
-
inNewWindow
public boolean inNewWindow()Description copied from class:SnippetizerLinkCheck whether the link should target a new window - this defaults to false;- Overrides:
inNewWindowin classSnippetizerLink
-