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>


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)
           
 hudson.util.FormValidation doCheckAuthenticationToken(String value)
           
 hudson.util.FormValidation doCheckServerUrl(String value)
           
 hudson.util.ListBoxModel doFillEnvironmentItems(String serverUrl, String authenticationToken, String project)
           
 hudson.util.ListBoxModel doFillPackageNameItems(String serverUrl, String authenticationToken, String project, String environment)
           
 hudson.util.ListBoxModel doFillProjectItems(String serverUrl, String authenticationToken)
           
 hudson.util.FormValidation doGetEnvironments(String environment)
           
 hudson.util.FormValidation doGetProjects(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

RapidDeployJobRunner.DescriptorImpl

public RapidDeployJobRunner.DescriptorImpl()
Method Detail

doCheckServerUrl

public hudson.util.FormValidation doCheckServerUrl(@QueryParameter
                                                   String value)
                                            throws IOException,
                                                   javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doCheckAuthenticationToken

public hudson.util.FormValidation doCheckAuthenticationToken(@QueryParameter
                                                             String value)
                                                      throws IOException,
                                                             javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

doGetProjects

public hudson.util.FormValidation doGetProjects(@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

doGetEnvironments

public hudson.util.FormValidation doGetEnvironments(@QueryParameter(value="environment")
                                                    String environment)
                                             throws IOException,
                                                    javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

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>

checkNotEmpty

public hudson.util.FormValidation checkNotEmpty(String value)

doFillProjectItems

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

doFillEnvironmentItems

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

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)


Copyright © 2004-2014. All Rights Reserved.