hudson.plugins.mavendeploymentlinker
Class MavenDeploymentDownloader.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>
          extended by hudson.plugins.mavendeploymentlinker.MavenDeploymentDownloader.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
MavenDeploymentDownloader

@Extension
public static final class MavenDeploymentDownloader.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>


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
MavenDeploymentDownloader.DescriptorImpl()
           
 
Method Summary
 hudson.model.AutoCompletionCandidates doAutoCompleteProjectName(String value)
           
 hudson.util.FormValidation doCheckFilePattern(String value)
          checks the file pattern to find the files we have to download.
 hudson.util.FormValidation doCheckStripVersionPattern(String value)
          checks the pattern used to strip the version of the file name - this is optional, as we have a default.
 hudson.util.ListBoxModel doFillPermaLinkItems(hudson.model.Job<?,?> defaultJob, String projectName)
           
 String getDisplayName()
          This human readable name is used in the configuration screen.
 boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
           
 
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, getDescriptorFullUrl, 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

MavenDeploymentDownloader.DescriptorImpl

public MavenDeploymentDownloader.DescriptorImpl()
Method Detail

doAutoCompleteProjectName

public hudson.model.AutoCompletionCandidates doAutoCompleteProjectName(@QueryParameter
                                                                       String value)

doFillPermaLinkItems

public hudson.util.ListBoxModel doFillPermaLinkItems(@AncestorInPath
                                                     hudson.model.Job<?,?> defaultJob,
                                                     @QueryParameter(value="projectName")
                                                     String projectName)

doCheckFilePattern

public hudson.util.FormValidation doCheckFilePattern(@QueryParameter
                                                     String value)
                                              throws IOException,
                                                     javax.servlet.ServletException
checks the file pattern to find the files we have to download.

Throws:
IOException
javax.servlet.ServletException

doCheckStripVersionPattern

public hudson.util.FormValidation doCheckStripVersionPattern(@QueryParameter
                                                             String value)
                                                      throws IOException,
                                                             javax.servlet.ServletException
checks the pattern used to strip the version of the file name - this is optional, as we have a default.

Throws:
IOException
javax.servlet.ServletException
See Also:
VersionUtil.SNAPSHOT_FILE_PATTERN_STR, VersionUtil.VERSION_FILE_PATTERN_STR

isApplicable

public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Builder>

getDisplayName

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

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


Copyright © 2004-2013. All Rights Reserved.