@Extension public class GroovyPostbuildDescriptor extends BuildStepDescriptor<Publisher>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
GroovyPostbuildDescriptor()
Constructs a
GroovyPostbuildDescriptor . |
Modifier and Type | Method and Description |
---|---|
static void |
addAliases() |
String |
getDisplayName()
Gets the descriptor display name, used in the post step checkbox description.
|
String |
getHelpFile() |
boolean |
isApplicable(Class<? extends AbstractProject> clazz)
Checks whether this descriptor is applicable.
|
boolean |
isMatrixProject(Object it)
Check whether the configuring model is
MatrixProject . |
filter
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public GroovyPostbuildDescriptor()
GroovyPostbuildDescriptor
.public final String getDisplayName()
getDisplayName
in class Descriptor<Publisher>
public String getHelpFile()
getHelpFile
in class Descriptor<Publisher>
public final boolean isApplicable(Class<? extends AbstractProject> clazz)
isApplicable
in class BuildStepDescriptor<Publisher>
clazz
- the classpublic boolean isMatrixProject(Object it)
MatrixProject
. Called from jelly.
Note: Caller should pass it for the model is not bound to
StaplerRequest.findAncestorObject(Class)
when called via hetelo-list.it
- MatrixProject
@Initializer(before=PLUGINS_STARTED) public static void addAliases()
Copyright © 2016–2019. All rights reserved.