Class StepDescriptorCache
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.cps.nodes.StepDescriptorCache
-
- All Implemented Interfaces:
ExtensionPoint
@Extension @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class StepDescriptorCache extends Object implements ExtensionPoint
Shared cacheSingleton for the StepDescriptors, extension-scoped to avoid test issues
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description StepDescriptorCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jenkinsci.plugins.workflow.steps.StepDescriptor
getDescriptor(String descriptorId)
static StepDescriptorCache
getPublicCache()
void
invalidateAll()
static void
invalidateGlobalCache()
-
-
-
Method Detail
-
getPublicCache
public static StepDescriptorCache getPublicCache()
-
invalidateGlobalCache
@Initializer(after=EXTENSIONS_AUGMENTED) public static void invalidateGlobalCache()
-
invalidateAll
public void invalidateAll()
-
getDescriptor
@CheckForNull public org.jenkinsci.plugins.workflow.steps.StepDescriptor getDescriptor(String descriptorId)
-
-