org.jvnet.hudson.plugins.groovypostbuild
Class GroovyPostbuildDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by org.jvnet.hudson.plugins.groovypostbuild.GroovyPostbuildDescriptor
All Implemented Interfaces:
hudson.model.Saveable

@Extension
public class GroovyPostbuildDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
GroovyPostbuildDescriptor()
          Constructs a GroovyPostbuildDescriptor.
 
Method Summary
 String getDisplayName()
          Gets the descriptor display name, used in the post step checkbox description.
 String getHelpFile()
           
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> clazz)
          Checks whether this descriptor is applicable.
 boolean isMatrixProject(Object it)
          Check whether the configuring model is MatrixProject.
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroovyPostbuildDescriptor

public GroovyPostbuildDescriptor()
Constructs a GroovyPostbuildDescriptor.

Method Detail

getDisplayName

public final 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

getHelpFile

public String getHelpFile()
Overrides:
getHelpFile in class hudson.model.Descriptor<hudson.tasks.Publisher>

isApplicable

public final boolean isApplicable(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

isMatrixProject

public boolean isMatrixProject(Object it)
Check whether the configuring model is MatrixProject. Called from jelly. Note: Caller should pass it for the model is not bound to StaplerRequest.findAncestorObject(Class) when called via hetelo-list.

Parameters:
it -
Returns:
true if the target model is MatrixProject


Copyright © 2004-2015. All Rights Reserved.