com.midvision.rapiddeploy.plugin.jenkins.postbuildstep
Class RapidDeployJobRunner.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.RapidDeployJobRunner.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
RapidDeployJobRunner

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

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 doCheckAuthenticationToken(String value)
          AUTHENTICATION TOKEN FIELD
 hudson.util.FormValidation doCheckServerUrl(String value)
          SERVER URL FIELD
 hudson.util.ListBoxModel doFillEnvironmentItems(String serverUrl, String authenticationToken, String project)
          ENVIRONMENT FIELD
 hudson.util.ListBoxModel doFillPackageNameItems(String serverUrl, String authenticationToken, String project, String environment)
          PACKAGE FIELD
 hudson.util.ListBoxModel doFillProjectItems(String serverUrl, String authenticationToken)
          PROJECT FIELD
 hudson.util.FormValidation doLoadProjects(String serverUrl, String authenticationToken)
          LOAD PROJECTS BUTTON
 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.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

doLoadProjects

public hudson.util.FormValidation doLoadProjects(@QueryParameter(value="serverUrl")
                                                 String serverUrl,
                                                 @QueryParameter(value="authenticationToken")
                                                 String authenticationToken)
                                          throws IOException,
                                                 javax.servlet.ServletException
LOAD PROJECTS BUTTON

Throws:
IOException
javax.servlet.ServletException

doFillProjectItems

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


doFillEnvironmentItems

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


doFillPackageNameItems

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



Copyright © 2004-2015. All Rights Reserved.