Package hudson.tools
Class ToolProperty<T extends ToolInstallation>
java.lang.Object
hudson.tools.ToolProperty<T>
- Type Parameters:
- T-- ToolPropertycan choose to only work with a certain subtype of- ToolInstallation, and this 'T' represents that type. Also see- PropertyDescriptor.isApplicable(Class).
- All Implemented Interfaces:
- ExtensionPoint,- Describable<ToolProperty<?>>
- Direct Known Subclasses:
- InstallSourceProperty
public abstract class ToolProperty<T extends ToolInstallation>
extends Object
implements Describable<ToolProperty<?>>, ExtensionPoint
Extensible property of 
ToolInstallation.
 
 Plugins can contribute this extension point to add additional data or UI actions to ToolInstallation.
 ToolPropertys show up in the configuration screen of a tool, and they are persisted with the ToolInstallation object.
 
Views
- config.jelly
- Added to the configuration page of the tool.
- Since:
- 1.303
- 
Nested Class SummaryNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionall()Lists up all the registeredToolPropertyDescriptors in the system.Gets the descriptor for this instance.protected voidtype()What is your 'T'?
- 
Field Details- 
tool
 
- 
- 
Constructor Details- 
ToolPropertypublic ToolProperty()
 
- 
- 
Method Details- 
setTool
- 
getDescriptorDescription copied from interface:DescribableGets the descriptor for this instance.Descriptoris a singleton for every concreteDescribableimplementation, so ifa.getClass() == b.getClass()then by defaulta.getDescriptor() == b.getDescriptor()as well. (In rare cases a single implementation class may be used for instances with distinct descriptors.)By default looks for a nested class (conventionally named DescriptorImpl) implementingDescriptorand marked withExtension.- Specified by:
- getDescriptorin interface- Describable<T extends ToolInstallation>
 
- 
typeWhat is your 'T'?
- 
allLists up all the registeredToolPropertyDescriptors in the system.- See Also:
 
 
-