Class Snippetizer.QuasiDescriptor

java.lang.Object
org.jenkinsci.plugins.workflow.cps.Snippetizer.QuasiDescriptor
All Implemented Interfaces:
Comparable<Snippetizer.QuasiDescriptor>
Enclosing class:
Snippetizer

@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public static final class Snippetizer.QuasiDescriptor extends Object implements Comparable<Snippetizer.QuasiDescriptor>
Represents a step or other step-like objects that should appear in Snippetizer’s main dropdown list and can generate some fragment of Pipeline script. real can be a StepDescriptor, in which case we generate an invocation of that step. Or it can be any Descriptor that can be run by a meta step, such as a BuildStepDescriptor of a SimpleBuildStep (from CoreStep) with a Symbol, because from the user point of view a regular Describable run via a metastep is syntactically indistinguishable from a true Step.