com.googlecode.refit.jenkins
Class ReFitArchiverDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by com.googlecode.refit.jenkins.ReFitArchiverDescriptor
All Implemented Interfaces:
hudson.model.Saveable

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

Descriptor for the ReFitArchiver.

This class interacts with config.jelly and the configuration page.

Author:
Harald Wellmann

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
ReFitArchiverDescriptor()
           
 
Method Summary
 hudson.util.FormValidation doCheck(hudson.model.AbstractProject<?,?> project, String value)
          Checks the reportPath value entered in the configuration form by testing if the path exists.
 String getDisplayName()
          This human readable name is used in the configuration screen.
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
          This publisher is applicable to all job types, Maven or not.
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, 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

ReFitArchiverDescriptor

public ReFitArchiverDescriptor()
Method Detail

getDisplayName

public String getDisplayName()
This human readable name is used in the configuration screen.

TODO i18n

Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>

doCheck

public hudson.util.FormValidation doCheck(@AncestorInPath
                                          hudson.model.AbstractProject<?,?> project,
                                          @QueryParameter
                                          String value)
                                   throws IOException,
                                          javax.servlet.ServletException
Checks the reportPath value entered in the configuration form by testing if the path exists. This check is activated by a corresponding attribute in config.jelly.

Throws:
IOException
javax.servlet.ServletException

isApplicable

public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
This publisher is applicable to all job types, Maven or not.

Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>


Copyright © 2004-2011. All Rights Reserved.