hudson.tools
Class ToolLocationNodeProperty.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<P>
      extended by hudson.tools.PropertyDescriptor<NodeProperty<?>,Node>
          extended by hudson.slaves.NodePropertyDescriptor
              extended by hudson.tools.ToolLocationNodeProperty.DescriptorImpl
All Implemented Interfaces:
Saveable
Enclosing class:
ToolLocationNodeProperty

@Extension
public static class ToolLocationNodeProperty.DescriptorImpl
extends NodePropertyDescriptor


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
ToolLocationNodeProperty.DescriptorImpl()
           
 
Method Summary
 String getDisplayName()
          Human readable name of this kind of configurable object.
 String getKey(ToolInstallation installation)
           
 DescriptorExtensionList<ToolInstallation,ToolDescriptor<?>> getToolDescriptors()
           
 boolean isApplicable(Class<? extends Node> nodeType)
          Returns true if this property type is applicable to the given target type.
 
Methods inherited from class hudson.tools.PropertyDescriptor
for_, for_
 
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

ToolLocationNodeProperty.DescriptorImpl

public ToolLocationNodeProperty.DescriptorImpl()
Method Detail

getDisplayName

public String getDisplayName()
Description copied from class: Descriptor
Human readable name of this kind of configurable object.

Specified by:
getDisplayName in class Descriptor<NodeProperty<?>>

getToolDescriptors

public DescriptorExtensionList<ToolInstallation,ToolDescriptor<?>> getToolDescriptors()

getKey

public String getKey(ToolInstallation installation)

isApplicable

public boolean isApplicable(Class<? extends Node> nodeType)
Description copied from class: PropertyDescriptor
Returns true if this property type is applicable to the given target type.

The default implementation of this method checks if the given node type is assignable according to the parameterization, but subtypes can extend this to change this behavior.

Overrides:
isApplicable in class PropertyDescriptor<NodeProperty<?>,Node>
Returns:
true to indicate applicable, in which case the property will be displayed in the configuration screen of the target, for example.


Copyright © 2004-2013. All Rights Reserved.