hudson.plugins.chucknorris
Class BeardDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by hudson.plugins.chucknorris.BeardDescriptor
All Implemented Interfaces:
hudson.model.Saveable

@Extension
public class BeardDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.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
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
BeardDescriptor()
          Constructs a BeardDescriptor.
 
Method Summary
 java.lang.String getDisplayName()
          Gets the descriptor display name, used in the post step checkbox description.
 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> clazz)
          Checks whether this descriptor is applicable.
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
configure, configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, load, newInstance, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeardDescriptor

public BeardDescriptor()
Constructs a BeardDescriptor.

Method Detail

getDisplayName

public final java.lang.String getDisplayName()
Gets the descriptor display name, used in the post step checkbox description.

Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>
Returns:
the descriptor display name

isApplicable

public final boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> clazz)
Checks whether this descriptor is applicable.

Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
Parameters:
clazz - the class
Returns:
true - of course the beard is applicable


Copyright © 2009. All Rights Reserved.