KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hudson > model > UserPropertyDescriptor


1 package hudson.model;
2
3 /**
4  * {@link Descriptor} for {@link UserProperty}.
5  *
6  * @author Kohsuke Kawaguchi
7  */

8 public abstract class UserPropertyDescriptor extends Descriptor<UserProperty> {
9     protected UserPropertyDescriptor(Class JavaDoc<? extends UserProperty> clazz) {
10         super(clazz);
11     }
12
13     /**
14      * Creates a default instance of {@link UserProperty} to be associated
15      * with {@link User} that doesn't have any back up data store.
16      *
17      * @return null
18      * if the implementation choose not to add any property object for such user.
19      */

20     public abstract UserProperty newInstance(User user);
21 }
22
Popular Tags