Class DescriptorLookupCache

java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.DescriptorLookupCache

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) @Extension public class DescriptorLookupCache extends Object
  • Constructor Details

    • DescriptorLookupCache

      public DescriptorLookupCache()
  • Method Details

    • getPublicCache

      public static DescriptorLookupCache getPublicCache()
    • invalidateGlobalCache

      @Initializer(after=EXTENSIONS_AUGMENTED) public static void invalidateGlobalCache()
    • invalidateAll

      public void invalidateAll()
    • modelForStep

      public org.jenkinsci.plugins.structs.describable.DescribableModel<? extends org.jenkinsci.plugins.workflow.steps.Step> modelForStep(String n)
    • modelForDescribable

      public org.jenkinsci.plugins.structs.describable.DescribableModel<? extends Describable> modelForDescribable(String n)
    • modelForDescribable

      public org.jenkinsci.plugins.structs.describable.DescribableModel<? extends Describable> modelForDescribable(String n, @CheckForNull Class<? extends Describable> describable)
    • lookupStepDescriptor

      public org.jenkinsci.plugins.workflow.steps.StepDescriptor lookupStepDescriptor(String n)
    • lookupFunction

      public Descriptor<? extends Describable> lookupFunction(String n)
    • lookupFunction

      public Descriptor<? extends Describable> lookupFunction(String n, @CheckForNull Class<? extends Describable> describable)
    • lookupStepFirstThenFunction

      public Descriptor<? extends Describable> lookupStepFirstThenFunction(String name)
    • lookupFunctionFirstThenStep

      public Descriptor<? extends Describable> lookupFunctionFirstThenStep(String name)
    • modelForStepFirstThenFunction

      public org.jenkinsci.plugins.structs.describable.DescribableModel<? extends Describable> modelForStepFirstThenFunction(String name)
    • modelForFunctionFirstThenStep

      public org.jenkinsci.plugins.structs.describable.DescribableModel<? extends Describable> modelForFunctionFirstThenStep(String name)
    • lookupStepFirstThenFunction

      public Descriptor<? extends Describable> lookupStepFirstThenFunction(String name, Class<? extends Describable> describable)
    • lookupFunctionFirstThenStep

      public Descriptor<? extends Describable> lookupFunctionFirstThenStep(String name, Class<? extends Describable> describable)
    • modelForStepFirstThenFunction

      public org.jenkinsci.plugins.structs.describable.DescribableModel<? extends Describable> modelForStepFirstThenFunction(String name, Class<? extends Describable> describable)
    • modelForFunctionFirstThenStep

      public org.jenkinsci.plugins.structs.describable.DescribableModel<? extends Describable> modelForFunctionFirstThenStep(String name, Class<? extends Describable> describable)
    • stepTakesClosure

      public boolean stepTakesClosure(Descriptor d)