KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hudson > model > Describable


1 package hudson.model;
2
3 /**
4  * Classes that are described by {@link Descriptor}.
5  *
6  * @author Kohsuke Kawaguchi
7  */

8 public interface Describable<T extends Describable<T>> {
9     /**
10      * Gets the descriptor for this instance.
11      *
12      * <p>
13      * {@link Descriptor} is a singleton for every concrete {@link Describable}
14      * implementation, so if <tt>a.getClass()==b.getClass()</tt> then
15      * <tt>a.getDescriptor()==b.getDescriptor()</tt> must hold.
16      */

17     Descriptor<T> getDescriptor();
18 }
19
Popular Tags