Package hudson.model
Class AbstractDescribableImpl<T extends AbstractDescribableImpl<T>>
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<T>
-
- All Implemented Interfaces:
Describable<T>
- Direct Known Subclasses:
ArtifactManagerFactory
,AuthorizationStrategy
,BuildDiscarder
,BuildWrapper
,CaptchaSupport
,ComputerConnector
,ComputerLauncher
,FingerprintStorage
,GlobalBuildDiscarderStrategy
,GlobalSettingsProvider
,IdStrategy
,LabelAtomProperty
,MarkupFormatter
,MyViewsTabBar
,ProxyConfiguration
,QueueItemAuthenticator
,RepositoryBrowser
,RetentionStrategy
,SCMCheckoutStrategy
,SecurityRealm
,SettingsProvider
,ToolInstallation
,User.CanonicalIdResolver
,ViewsTabBar
public abstract class AbstractDescribableImpl<T extends AbstractDescribableImpl<T>> extends Object implements Describable<T>
Partial default implementation ofDescribable
.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description AbstractDescribableImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Descriptor<T>
getDescriptor()
By default looks for a nested class (conventionally namedDescriptorImpl
) implementingDescriptor
and marked withExtension
.
-
-
-
Method Detail
-
getDescriptor
public Descriptor<T> getDescriptor()
By default looks for a nested class (conventionally namedDescriptorImpl
) implementingDescriptor
and marked withExtension
.Gets the descriptor for this instance.
Descriptor
is a singleton for every concreteDescribable
implementation, 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:
getDescriptor
in interfaceDescribable<T extends AbstractDescribableImpl<T>>
-
-