jp.ikedam.jenkins.plugins.groovy_label_assignment
Class GroovyLabelAssignmentProperty.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<hudson.model.JobProperty<?>>
      extended by hudson.model.JobPropertyDescriptor
          extended by jp.ikedam.jenkins.plugins.groovy_label_assignment.GroovyLabelAssignmentProperty.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
GroovyLabelAssignmentProperty

@Extension
public static class GroovyLabelAssignmentProperty.DescriptorImpl
extends hudson.model.JobPropertyDescriptor

Class used for working with view.


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
GroovyLabelAssignmentProperty.DescriptorImpl()
           
 
Method Summary
 hudson.util.FormValidation doCheckGroovyScript(String groovyScript)
          Do syntax check of a Groovy script.
 String getDisplayName()
          Name to display.
 hudson.model.JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
          Create a new instance from the form input.
 
Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, isApplicable
 
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

GroovyLabelAssignmentProperty.DescriptorImpl

public GroovyLabelAssignmentProperty.DescriptorImpl()
Method Detail

getDisplayName

public String getDisplayName()
Name to display.

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

newInstance

public hudson.model.JobProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req,
                                               net.sf.json.JSONObject formData)
                                        throws hudson.model.Descriptor.FormException
Create a new instance from the form input.

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

doCheckGroovyScript

public hudson.util.FormValidation doCheckGroovyScript(@QueryParameter
                                                      String groovyScript)
Do syntax check of a Groovy script.

Parameters:
groovyScript -
Returns:
FormValidation object.


Copyright © 2004-2015. All Rights Reserved.