org.jenkinsci.plugins.relution
Class Application.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<Application>
      extended by org.jenkinsci.plugins.relution.Application.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable
Enclosing class:
Application

@Extension
public static class Application.DescriptorImpl
extends hudson.model.Descriptor<Application>

Descriptor for Application.DescriptorImpl. Used as a singleton. The class is marked as public so that it can be accessed from views.

See src/main/resources/hudson/plugins/hello_world/HelloWorldBuilder/*.jelly for the actual HTML fragment for the configuration screen.


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
Application.DescriptorImpl()
           
 
Method Summary
 hudson.util.ListBoxModel doFillApiEndpointURLItems()
          Fills the DropDownList on the configuration page of an job.
 hudson.util.ListBoxModel doFillApiReleaseStatusItems()
           
 String getDisplayName()
           
 
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

Application.DescriptorImpl

public Application.DescriptorImpl()
Method Detail

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<Application>

doFillApiEndpointURLItems

public hudson.util.ListBoxModel doFillApiEndpointURLItems()
Fills the DropDownList on the configuration page of an job. The values are read out of the GlobalConfiguration.

Returns:
List of URLs which are entered in the GlobalConfigurationScreen

doFillApiReleaseStatusItems

public hudson.util.ListBoxModel doFillApiReleaseStatusItems()
Returns:
List of ReleaseStatuses that the actual app could have.


Copyright © 2004-2013. All Rights Reserved.