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 inSnippetizer
’s main dropdown list and can generate some fragment of Pipeline script.real
can be aStepDescriptor
, in which case we generate an invocation of that step. Or it can be anyDescriptor
that can be run by a meta step, such as aBuildStepDescriptor
of aSimpleBuildStep
(fromCoreStep
) with aSymbol
, because from the user point of view a regularDescribable
run via a metastep is syntactically indistinguishable from a trueStep
.
-
-
Field Summary
Fields Modifier and Type Field Description Descriptor<?>
real
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Snippetizer.QuasiDescriptor o)
boolean
equals(Object obj)
String
getSymbol()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
real
public final Descriptor<?> real
-
-
Method Detail
-
getSymbol
public String getSymbol()
-
compareTo
public int compareTo(Snippetizer.QuasiDescriptor o)
- Specified by:
compareTo
in interfaceComparable<Snippetizer.QuasiDescriptor>
-
-