com.midvision.rapiddeploy.plugin.jenkins.postbuildstep
Class RapidDeployPackageBuilder.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by com.midvision.rapiddeploy.plugin.jenkins.postbuildstep.RapidDeployPackageBuilder.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
RapidDeployPackageBuilder

@Extension
public static final class RapidDeployPackageBuilder.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

Descriptor for RapidDeployPackageBuilder. Used as a singleton. The class is marked as public so that it can be accessed from views.


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
RapidDeployPackageBuilder.DescriptorImpl()
           
 
Method Summary
 hudson.util.FormValidation checkNotEmpty(String value)
          AUX
 hudson.util.FormValidation doCheckArchiveExension(String value)
          ARCHIVE EXTENSION FIELD
 hudson.util.FormValidation doCheckAuthenticationToken(String value)
          AUTHENTICATION TOKEN FIELD
 hudson.util.FormValidation doCheckProject(String value)
          PROJECT FIELD
 hudson.util.FormValidation doCheckServerUrl(String value)
          SERVER URL FIELD
 hudson.util.ComboBoxModel doFillArchiveExensionItems()
           
 hudson.util.ComboBoxModel doFillProjectItems(String serverUrl, String authenticationToken)
           
 hudson.util.FormValidation doGetPackages(String serverUrl, String authenticationToken, String project)
           
 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
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RapidDeployPackageBuilder.DescriptorImpl

public RapidDeployPackageBuilder.DescriptorImpl()
Method Detail

isApplicable

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

getDisplayName

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

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

doCheckServerUrl

public hudson.util.FormValidation doCheckServerUrl(@QueryParameter
                                                   String value)
                                            throws IOException,
                                                   javax.servlet.ServletException
SERVER URL FIELD

Throws:
IOException
javax.servlet.ServletException

doCheckAuthenticationToken

public hudson.util.FormValidation doCheckAuthenticationToken(@QueryParameter
                                                             String value)
                                                      throws IOException,
                                                             javax.servlet.ServletException
AUTHENTICATION TOKEN FIELD

Throws:
IOException
javax.servlet.ServletException

doCheckProject

public hudson.util.FormValidation doCheckProject(@QueryParameter
                                                 String value)
                                          throws IOException,
                                                 javax.servlet.ServletException
PROJECT FIELD

Throws:
IOException
javax.servlet.ServletException

doFillProjectItems

public hudson.util.ComboBoxModel doFillProjectItems(@QueryParameter(value="serverUrl")
                                                    String serverUrl,
                                                    @QueryParameter(value="authenticationToken")
                                                    String authenticationToken)

doGetPackages

public hudson.util.FormValidation doGetPackages(@QueryParameter(value="serverUrl")
                                                String serverUrl,
                                                @QueryParameter(value="authenticationToken")
                                                String authenticationToken,
                                                @QueryParameter(value="project")
                                                String project)
                                         throws IOException,
                                                javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doCheckArchiveExension

public hudson.util.FormValidation doCheckArchiveExension(@QueryParameter
                                                         String value)
                                                  throws IOException,
                                                         javax.servlet.ServletException
ARCHIVE EXTENSION FIELD

Throws:
IOException
javax.servlet.ServletException

doFillArchiveExensionItems

public hudson.util.ComboBoxModel doFillArchiveExensionItems()

checkNotEmpty

public hudson.util.FormValidation checkNotEmpty(String value)
AUX



Copyright © 2004-2015. All Rights Reserved.