Class Snippetizer.LocalAction
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.cps.Snippetizer
-
- org.jenkinsci.plugins.workflow.cps.Snippetizer.LocalAction
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,DescriptorByNameOwner
,ModelObject
,RootAction
- Enclosing class:
- Snippetizer
public static class Snippetizer.LocalAction extends Snippetizer
May be added to various contexts to offer the Pipeline Groovy link where it is appropriate. To use, define aTransientActionFactory
of some kind ofItem
. If the targetAccessControlled.hasPermission(hudson.security.Permission)
Item.EXTENDED_READ
, return oneSnippetizer.LocalAction
. Otherwise return an empty set.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.cps.Snippetizer
Snippetizer.LocalAction, Snippetizer.PerJobAdder, Snippetizer.QuasiDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
-
Fields inherited from class org.jenkinsci.plugins.workflow.cps.Snippetizer
ACTION_URL, GENERATE_URL
-
-
Constructor Summary
Constructors Constructor Description LocalAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
String
getIconClassName()
-
Methods inherited from class org.jenkinsci.plugins.workflow.cps.Snippetizer
doGenerateSnippet, getGlobalVariables, getIconFileName, getItem, getQuasiDescriptors, getSnippetizerLinks, getUrlName, object2Groovy, object2Groovy
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.model.DescriptorByNameOwner
getDescriptorByName
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
- Overrides:
getDisplayName
in classSnippetizer
-
getIconClassName
public String getIconClassName()
-
-