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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionBy default looks for a nested class (conventionally namedDescriptorImpl) implementingDescriptorand marked withExtension.
-
Constructor Details
-
AbstractDescribableImpl
public AbstractDescribableImpl()
-
-
Method Details
-
getDescriptor
By default looks for a nested class (conventionally namedDescriptorImpl) implementingDescriptorand marked withExtension.Gets 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 AbstractDescribableImpl<T>>
-