@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public static final class Snippetizer.QuasiDescriptor extends Object implements Comparable<Snippetizer.QuasiDescriptor>
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
.Modifier and Type | Field and Description |
---|---|
Descriptor<?> |
real |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Snippetizer.QuasiDescriptor o) |
boolean |
equals(Object obj) |
String |
getSymbol() |
int |
hashCode() |
String |
toString() |
public final Descriptor<?> real
public String getSymbol()
public int compareTo(Snippetizer.QuasiDescriptor o)
compareTo
in interface Comparable<Snippetizer.QuasiDescriptor>
Copyright © 2016–2020. All rights reserved.