com.xebialabs.xlrelease.ci
Class XLReleaseNotifier.XLReleaseDescriptor

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by com.xebialabs.xlrelease.ci.XLReleaseNotifier.XLReleaseDescriptor
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
XLReleaseNotifier

@Extension
public static final class XLReleaseNotifier.XLReleaseDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>


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
XLReleaseNotifier.XLReleaseDescriptor()
           
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
           
 hudson.util.FormValidation doCheckCredential(java.lang.String credential)
           
 hudson.util.FormValidation doCheckTemplate(java.lang.String credential, java.lang.String value, hudson.model.AbstractProject project)
           
 hudson.util.FormValidation doCheckXLReleaseClientProxyUrl(java.lang.String xlReleaseClientProxyUrl)
           
 hudson.util.FormValidation doCheckXLReleaseServerUrl(java.lang.String xlReleaseServerUrl)
           
 hudson.util.ListBoxModel doFillCredentialItems()
           
 hudson.util.ListBoxModel doFillTemplateItems(java.lang.String credential)
           
 java.util.List<Credential> getCredentials()
           
 java.lang.String getDisplayName()
           
 int getNumberOfVariables(java.lang.String credential, java.lang.String template)
           
 java.util.Map<java.lang.String,java.lang.String> getVariablesOf(java.lang.String credential, java.lang.String template)
           
 java.lang.String getXlReleaseClientProxyUrl()
           
 java.lang.String getXlReleaseServerUrl()
           
 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
           
 hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckMethod, 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, 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

XLReleaseNotifier.XLReleaseDescriptor

public XLReleaseNotifier.XLReleaseDescriptor()
Method Detail

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject json)
                  throws hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException

isApplicable

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

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>

doCheckXLReleaseServerUrl

public hudson.util.FormValidation doCheckXLReleaseServerUrl(@QueryParameter
                                                            java.lang.String xlReleaseServerUrl)

doCheckXLReleaseClientProxyUrl

public hudson.util.FormValidation doCheckXLReleaseClientProxyUrl(@QueryParameter
                                                                 java.lang.String xlReleaseClientProxyUrl)

doCheckTemplate

public hudson.util.FormValidation doCheckTemplate(@QueryParameter
                                                  java.lang.String credential,
                                                  @QueryParameter
                                                  java.lang.String value,
                                                  @AncestorInPath
                                                  hudson.model.AbstractProject project)

doFillTemplateItems

public hudson.util.ListBoxModel doFillTemplateItems(@QueryParameter
                                                    java.lang.String credential)

getCredentials

public java.util.List<Credential> getCredentials()

getXlReleaseServerUrl

public java.lang.String getXlReleaseServerUrl()

getXlReleaseClientProxyUrl

public java.lang.String getXlReleaseClientProxyUrl()

doFillCredentialItems

public hudson.util.ListBoxModel doFillCredentialItems()

doCheckCredential

public hudson.util.FormValidation doCheckCredential(@QueryParameter
                                                    java.lang.String credential)

newInstance

public hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req,
                                          net.sf.json.JSONObject formData)
                                   throws hudson.model.Descriptor.FormException
Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException

getVariablesOf

public java.util.Map<java.lang.String,java.lang.String> getVariablesOf(java.lang.String credential,
                                                                       java.lang.String template)

getNumberOfVariables

public int getNumberOfVariables(@QueryParameter
                                java.lang.String credential,
                                @QueryParameter
                                java.lang.String template)