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
May be added to various contexts to offer the Pipeline Groovy link where it is appropriate.
To use, define a
TransientActionFactory of some kind of Item.
If the target AccessControlled.hasPermission(hudson.security.Permission) Item.EXTENDED_READ,
return one Snippetizer.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.QuasiDescriptorNested 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 -
Method Summary
Methods inherited from class org.jenkinsci.plugins.workflow.cps.Snippetizer
doGenerateSnippet, getGlobalVariables, getItem, getQuasiDescriptors, getSnippetizerLinks, getUrlName, object2Groovy, object2GroovyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.DescriptorByNameOwner
getDescriptorByName
-
Constructor Details
-
LocalAction
public LocalAction()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein interfaceAction- Specified by:
getDisplayNamein interfaceModelObject- Overrides:
getDisplayNamein classSnippetizer
-
getIconFileName
- Specified by:
getIconFileNamein interfaceAction- Overrides:
getIconFileNamein classSnippetizer
-