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
  • Constructor Details

    • StepDescriptorCache

      public StepDescriptorCache()
  • Method Details

    • 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)