Class GroovyPostbuildDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildDescriptor
-
@Extension public class GroovyPostbuildDescriptor extends BuildStepDescriptor<Publisher>
-
-
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
Constructors Constructor Description GroovyPostbuildDescriptor()
Constructs aGroovyPostbuildDescriptor
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 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 Detail
-
GroovyPostbuildDescriptor
public GroovyPostbuildDescriptor()
Constructs aGroovyPostbuildDescriptor
.
-
-
Method Detail
-
getDisplayName
public final String getDisplayName()
Gets the descriptor display name, used in the post step checkbox description.- Overrides:
getDisplayName
in classDescriptor<Publisher>
- Returns:
- the descriptor display name
-
getHelpFile
public String getHelpFile()
- Overrides:
getHelpFile
in classDescriptor<Publisher>
-
isApplicable
public final boolean isApplicable(Class<? extends AbstractProject> clazz)
Checks whether this descriptor is applicable.- Specified by:
isApplicable
in classBuildStepDescriptor<Publisher>
- Parameters:
clazz
- the class- Returns:
- true
-
isMatrixProject
public boolean isMatrixProject(Object it)
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
@Initializer(before=PLUGINS_STARTED) public static void addAliases()
-
-