ca.silvermaplesolutions.jenkins.plugins.daxis
Class DynamicAxis.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.matrix.Axis>
      extended by hudson.matrix.AxisDescriptor
          extended by ca.silvermaplesolutions.jenkins.plugins.daxis.DynamicAxis.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
DynamicAxis

@Extension
public static class DynamicAxis.DescriptorImpl
extends hudson.matrix.AxisDescriptor

Descriptor for this plugin.


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
DynamicAxis.DescriptorImpl()
           
 
Method Summary
 hudson.util.FormValidation doCheckValueString(String value)
          Ensures the value is a valid environment variable.
 String getDisplayName()
          Overridden to provide our own display name.
 hudson.matrix.Axis newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
          Overridden to create a new instance of our Axis extension from UI values.
 
Methods inherited from class hudson.matrix.AxisDescriptor
doCheckName, isInstantiable
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, 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

DynamicAxis.DescriptorImpl

public DynamicAxis.DescriptorImpl()
Method Detail

newInstance

public hudson.matrix.Axis newInstance(org.kohsuke.stapler.StaplerRequest req,
                                      net.sf.json.JSONObject formData)
                               throws hudson.model.Descriptor.FormException
Overridden to create a new instance of our Axis extension from UI values.

Overrides:
newInstance in class hudson.model.Descriptor<hudson.matrix.Axis>
Throws:
hudson.model.Descriptor.FormException
See Also:
Descriptor.newInstance(org.kohsuke.stapler.StaplerRequest, net.sf.json.JSONObject)

getDisplayName

public String getDisplayName()
Overridden to provide our own display name.

Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.matrix.Axis>
See Also:
Descriptor.getDisplayName()

doCheckValueString

public hudson.util.FormValidation doCheckValueString(@QueryParameter
                                                     String value)
Ensures the value is a valid environment variable. Since some variables are not available until build time a warning is generated if the name is valid but cannot be found in the current environment.

Parameters:
value -
Returns:


Copyright © 2004-2012. All Rights Reserved.