Class SnippetizerLink.GeneratorLink
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.cps.SnippetizerLink
-
- org.jenkinsci.plugins.workflow.cps.SnippetizerLink.GeneratorLink
-
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- SnippetizerLink
@Extension(ordinal=1000.0) public static class SnippetizerLink.GeneratorLink 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.StepReferenceLink
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GeneratorLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
Get the display name for the link.String
getIcon()
Get the icon information for the link.String
getUrl()
Get the URL this link should point to, which will be used bySnippetizerLink.getDisplayUrl()
.-
Methods inherited from class org.jenkinsci.plugins.workflow.cps.SnippetizerLink
getDisplayUrl, inNewWindow
-
-
-
-
Method Detail
-
getUrl
@NonNull public String getUrl()
Description copied from class:SnippetizerLink
Get 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:
getUrl
in classSnippetizerLink
-
getIcon
@NonNull public String getIcon()
Description copied from class:SnippetizerLink
Get the icon information for the link.- Overrides:
getIcon
in classSnippetizerLink
-
getDisplayName
@NonNull public String getDisplayName()
Description copied from class:SnippetizerLink
Get the display name for the link.- Specified by:
getDisplayName
in classSnippetizerLink
-
-