@Extension @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class StepDescriptorCache extends Object implements ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
StepDescriptorCache() |
Modifier and Type | Method and Description |
---|---|
org.jenkinsci.plugins.workflow.steps.StepDescriptor |
getDescriptor(String descriptorId) |
static StepDescriptorCache |
getPublicCache() |
void |
invalidateAll() |
static void |
invalidateGlobalCache() |
public static StepDescriptorCache getPublicCache()
@Initializer(after=EXTENSIONS_AUGMENTED) public static void invalidateGlobalCache()
public void invalidateAll()
@CheckForNull public org.jenkinsci.plugins.workflow.steps.StepDescriptor getDescriptor(String descriptorId)
Copyright © 2016–2020. All rights reserved.