com.midvision.rapiddeploy.plugin.jenkins.buildstep
Class RapidDeployJobRunner.DescriptorImpl

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

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

Descriptor for RapidDeployJobRunner. 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
RapidDeployJobRunner.DescriptorImpl()
           
 
Method Summary
 hudson.util.FormValidation checkNotEmpty(String value)
          AUX
 hudson.util.FormValidation doCheckAuthenticationToken(String value)
          AUTHENTICATION TOKEN FIELD
 hudson.util.FormValidation doCheckEnvironment(String value)
          ENVIRONMENT FIELD
 hudson.util.FormValidation doCheckProject(String value)
          PROJECT FIELD
 hudson.util.FormValidation doCheckServerUrl(String value)
          SERVER URL FIELD
 hudson.util.ComboBoxModel doFillEnvironmentItems(String serverUrl, String authenticationToken, String project)
           
 hudson.util.ComboBoxModel doFillPackageNameItems(String serverUrl, String authenticationToken, String project, String environment)
          PACKAGE FIELD
 hudson.util.ComboBoxModel doFillProjectItems(String serverUrl, String authenticationToken)
           
 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

RapidDeployJobRunner.DescriptorImpl

public RapidDeployJobRunner.DescriptorImpl()
Method Detail

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>

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)

doCheckEnvironment

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

Throws:
IOException
javax.servlet.ServletException

doFillEnvironmentItems

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

doFillPackageNameItems

public hudson.util.ComboBoxModel doFillPackageNameItems(@QueryParameter(value="serverUrl")
                                                        String serverUrl,
                                                        @QueryParameter(value="authenticationToken")
                                                        String authenticationToken,
                                                        @QueryParameter(value="project")
                                                        String project,
                                                        @QueryParameter(value="environment")
                                                        String environment)
PACKAGE FIELD


checkNotEmpty

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



Copyright © 2004-2015. All Rights Reserved.