Class GroovyPostbuildDescriptor
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
final String
Gets the descriptor display name, used in the post step checkbox description.final boolean
isApplicable
(Class<? extends AbstractProject> clazz) Checks whether this descriptor is applicable.boolean
Check whether the configuring model isMatrixProject
.Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
GroovyPostbuildDescriptor
public GroovyPostbuildDescriptor()Constructs aGroovyPostbuildDescriptor
.
-
-
Method Details
-
getDisplayName
Gets the descriptor display name, used in the post step checkbox description.- Overrides:
getDisplayName
in classDescriptor<Publisher>
- Returns:
- the descriptor display name
-
getHelpFile
- Overrides:
getHelpFile
in classDescriptor<Publisher>
-
isApplicable
Checks whether this descriptor is applicable.- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
- Parameters:
clazz
- the class- Returns:
- true
-
isMatrixProject
Check whether the configuring model isMatrixProject
. Called from jelly. Note: Caller should pass it for the model is not bound toStaplerRequest.findAncestorObject(Class)
when called via hetelo-list.- Parameters:
it
-- Returns:
- true if the target model is
MatrixProject
-
addAliases
-