hudson.tools
Class ToolProperty<T extends ToolInstallation>

java.lang.Object
  extended by hudson.tools.ToolProperty<T>
Type Parameters:
T - ToolProperty can 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 Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
ToolProperty()
           
 
Method Summary
static DescriptorExtensionList<ToolProperty<?>,ToolPropertyDescriptor> all()
          Lists up all the registered ToolPropertyDescriptors in the system.
 ToolPropertyDescriptor getDescriptor()
          Gets the descriptor for this instance.
abstract  Class<T> type()
          What is your 'T'?
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolProperty

public ToolProperty()
Method Detail

getDescriptor

public ToolPropertyDescriptor getDescriptor()
Description copied from interface: Describable
Gets the descriptor for this instance.

Descriptor is a singleton for every concrete Describable implementation, so if a.getClass()==b.getClass() then a.getDescriptor()==b.getDescriptor() must hold.

Specified by:
getDescriptor in interface Describable<ToolProperty<?>>

type

public abstract Class<T> type()
What is your 'T'?


all

public static DescriptorExtensionList<ToolProperty<?>,ToolPropertyDescriptor> all()
Lists up all the registered ToolPropertyDescriptors in the system.

See Also:
ToolDescriptor.getPropertyDescriptors()


Copyright © 2004-2013 Hudson. All Rights Reserved.