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 of
Describable
.- Author:
- Kohsuke Kawaguchi
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionBy default looks for a nested class (conventionally namedDescriptorImpl
) implementingDescriptor
and marked withExtension
.
-
Constructor Details
-
AbstractDescribableImpl
public AbstractDescribableImpl()
-
-
Method Details
-
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>>
-