hudson.plugins.doclinks
Class DocLinksPublisher.DocLinksDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by hudson.plugins.doclinks.DocLinksPublisher.DocLinksDescriptor
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
DocLinksPublisher

public static class DocLinksPublisher.DocLinksDescriptor
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
DocLinksPublisher.DocLinksDescriptor()
           
 
Method Summary
 hudson.util.FormValidation doCheckDirectory(hudson.model.AbstractProject<?,?> project, java.lang.String dir)
          check to see if directory is valid and exists.
 hudson.util.FormValidation doCheckFile(hudson.model.AbstractProject<?,?> project, java.lang.String dir, java.lang.String file)
          check to see if file exists.
 hudson.util.FormValidation doCheckTitle(hudson.model.AbstractProject<?,?> project, java.lang.String title)
          check to see if title is not null.
 java.lang.String getDisplayName()
           
 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
           
 hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 
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, 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

DocLinksPublisher.DocLinksDescriptor

public DocLinksPublisher.DocLinksDescriptor()
Method Detail

newInstance

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

isApplicable

public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

doCheckTitle

public hudson.util.FormValidation doCheckTitle(@AncestorInPath
                                               hudson.model.AbstractProject<?,?> project,
                                               @QueryParameter
                                               java.lang.String title)
                                        throws java.io.IOException,
                                               javax.servlet.ServletException
check to see if title is not null.

Throws:
java.io.IOException
javax.servlet.ServletException

doCheckDirectory

public hudson.util.FormValidation doCheckDirectory(@AncestorInPath
                                                   hudson.model.AbstractProject<?,?> project,
                                                   @QueryParameter
                                                   java.lang.String dir)
                                            throws java.io.IOException,
                                                   javax.servlet.ServletException
check to see if directory is valid and exists.

Throws:
java.io.IOException
javax.servlet.ServletException

doCheckFile

public hudson.util.FormValidation doCheckFile(@AncestorInPath
                                              hudson.model.AbstractProject<?,?> project,
                                              @QueryParameter
                                              java.lang.String dir,
                                              @QueryParameter
                                              java.lang.String file)
                                       throws java.io.IOException,
                                              javax.servlet.ServletException
check to see if file exists.

Throws:
java.io.IOException
javax.servlet.ServletException

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>


Copyright © 2010. All Rights Reserved.