Package hudson.plugins.doclinks
Class DocLinksPublisher.DocLinksDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Publisher>
-
- hudson.plugins.doclinks.DocLinksPublisher.DocLinksDescriptor
-
- Enclosing class:
- DocLinksPublisher
public static class DocLinksPublisher.DocLinksDescriptor extends BuildStepDescriptor<Publisher>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DocLinksDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidationdoCheckDirectory(AbstractProject<?,?> project, String dir)check to see if directory is valid and exists.FormValidationdoCheckFile(AbstractProject<?,?> project, String dir, String file)check to see if file exists.FormValidationdoCheckTitle(AbstractProject<?,?> project, String title)check to see if title is not null.StringgetDisplayName()booleanisApplicable(Class<? extends AbstractProject> jobType)PublishernewInstance(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
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
newInstance
public Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
newInstancein classDescriptor<Publisher>- Throws:
Descriptor.FormException
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicablein classBuildStepDescriptor<Publisher>
-
doCheckTitle
public FormValidation doCheckTitle(@AncestorInPath AbstractProject<?,?> project, @QueryParameter String title) throws IOException, javax.servlet.ServletException
check to see if title is not null.- Throws:
IOExceptionjavax.servlet.ServletException
-
doCheckDirectory
public FormValidation doCheckDirectory(@AncestorInPath AbstractProject<?,?> project, @QueryParameter String dir) throws IOException, javax.servlet.ServletException
check to see if directory is valid and exists.- Throws:
IOExceptionjavax.servlet.ServletException
-
doCheckFile
public FormValidation doCheckFile(@AncestorInPath AbstractProject<?,?> project, @QueryParameter String dir, @QueryParameter String file) throws IOException, javax.servlet.ServletException
check to see if file exists.- Throws:
IOExceptionjavax.servlet.ServletException
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein classDescriptor<Publisher>
-
-