hudson.model
Class AbstractDescribableImpl<T extends AbstractDescribableImpl<T>>

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<T>
All Implemented Interfaces:
Describable<T>
Direct Known Subclasses:
AuthorizationStrategy, Axis, BuildDiscarder, BuildWrapper, CaptchaSupport, ComputerConnector, ComputerConnectorTester, ComputerLauncher, FormFieldValidationWithContext.City, FormFieldValidationWithContext.State, GlobalSettingsProvider, JenkinsComputerConnectorTester, LabelAtomProperty, LocalRepositoryLocator, ManagedWindowsServiceAccount, ManagedWindowsServiceLauncher.AccountInfo, MarkupFormatter, MatrixConfigurationSorter, MatrixExecutionStrategy, MyViewsTabBar, ProxyConfiguration, RepositoryBrowser, RetentionStrategy, SCMCheckoutStrategy, SecurityRealm, SettingsProvider, TestDataPublisher, 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
AbstractDescribableImpl()
           
 
Method Summary
 Descriptor<T> getDescriptor()
          Gets the descriptor for this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDescribableImpl

public AbstractDescribableImpl()
Method Detail

getDescriptor

public Descriptor<T> 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<T extends AbstractDescribableImpl<T>>


Copyright © 2004-2013. All Rights Reserved.