hudson.model
Class MyViewsProperty.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<UserProperty>
      extended by hudson.model.UserPropertyDescriptor
          extended by hudson.model.MyViewsProperty.DescriptorImpl
All Implemented Interfaces:
Saveable
Enclosing class:
MyViewsProperty

@Extension
public static class MyViewsProperty.DescriptorImpl
extends UserPropertyDescriptor


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
 
Field Summary
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
MyViewsProperty.DescriptorImpl()
           
 
Method Summary
 String getDisplayName()
          Human readable name of this kind of configurable object.
 UserProperty newInstance(User user)
          Creates a default instance of UserProperty to be associated with User object that wasn't created from a persisted XML data.
 
Methods inherited from class hudson.model.UserPropertyDescriptor
isEnabled
 
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyViewsProperty.DescriptorImpl

public MyViewsProperty.DescriptorImpl()
Method Detail

getDisplayName

public String getDisplayName()
Description copied from class: Descriptor
Human readable name of this kind of configurable object.

Specified by:
getDisplayName in class Descriptor<UserProperty>

newInstance

public UserProperty newInstance(User user)
Description copied from class: UserPropertyDescriptor
Creates a default instance of UserProperty to be associated with User object that wasn't created from a persisted XML data.

See User class javadoc for more details about the life cycle of User and when this method is invoked.

Specified by:
newInstance in class UserPropertyDescriptor
Returns:
null if the implementation choose not to add any property object for such user.


Copyright © 2004-2013. All Rights Reserved.