hudson.model
Class Descriptor.PropertyType

java.lang.Object
  extended by hudson.model.Descriptor.PropertyType
Enclosing class:
Descriptor<T extends Describable<T>>

public static final class Descriptor.PropertyType
extends Object

Represents a readable property on Describable.


Field Summary
 Class clazz
           
 String displayName
           
 Type type
           
 
Method Summary
 List<? extends Descriptor> getApplicableDescriptors()
          Returns all the descriptors that produce types assignable to the property type.
 List<? extends Descriptor> getApplicableItemDescriptors()
          Returns all the descriptors that produce types assignable to the item type for a collection property.
 Enum[] getEnumConstants()
           
 Class getItemType()
          If the property is a collection/array type, what is an item type?
 Descriptor getItemTypeDescriptor()
          Returns Descriptor whose 'clazz' is the same as the item type.
 Descriptor getItemTypeDescriptorOrDie()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clazz

public final Class clazz

type

public final Type type

displayName

public final String displayName
Method Detail

getEnumConstants

public Enum[] getEnumConstants()

getItemType

public Class getItemType()
If the property is a collection/array type, what is an item type?


getItemTypeDescriptor

public Descriptor getItemTypeDescriptor()
Returns Descriptor whose 'clazz' is the same as the item type.


getItemTypeDescriptorOrDie

public Descriptor getItemTypeDescriptorOrDie()

getApplicableDescriptors

public List<? extends Descriptor> getApplicableDescriptors()
Returns all the descriptors that produce types assignable to the property type.


getApplicableItemDescriptors

public List<? extends Descriptor> getApplicableItemDescriptors()
Returns all the descriptors that produce types assignable to the item type for a collection property.



Copyright © 2004-2013. All Rights Reserved.