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 ofToolInstallation, and this 'T' represents that type. Also seePropertyDescriptor.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 Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
ToolProperty
public ToolProperty()
-
-
Method Details
-
setTool
-
getDescriptor
Description 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.)- Specified by:
getDescriptorin interfaceDescribable<T extends ToolInstallation>
-
type
What is your 'T'? -
all
Lists up all the registeredToolPropertyDescriptors in the system.- See Also:
-