Package hudson.plugins.chucknorris
Class BeardDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- hudson.plugins.chucknorris.BeardDescriptor
-
@Extension public class BeardDescriptor extends BuildStepDescriptor<Publisher>
This class provides build step description. If you're interested to become a fan of Chuck Norris' beard, please visit http://www.facebook.com/pages/Chuck-Norriss-Beard/80391285997.- Author:
- cliffano
-
-
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 BeardDescriptor()
Constructs aBeardDescriptor
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayName()
Gets the descriptor display name, used in the post step checkbox description.boolean
isApplicable(Class<? extends AbstractProject> clazz)
Checks whether this descriptor is applicable.-
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, 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
-
BeardDescriptor
public BeardDescriptor()
Constructs aBeardDescriptor
.
-
-
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
-
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 - of course the beard is applicable
-
-