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
 
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
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 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 isSecurityEnabled()
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, 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

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

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject formData)
                  throws hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException

isSecurityEnabled

public boolean isSecurityEnabled()


Copyright © 2004-2012. All Rights Reserved.