Package hudson.model
Class Descriptor.PropertyType
- java.lang.Object
-
- hudson.model.Descriptor.PropertyType
-
- Enclosing class:
- Descriptor<T extends Describable<T>>
public static final class Descriptor.PropertyType extends Object
Represents a readable property onDescribable.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()ClassgetItemType()If the property is a collection/array type, what is an item type?DescriptorgetItemTypeDescriptor()ReturnsDescriptorwhose 'clazz' is the same asthe item type.DescriptorgetItemTypeDescriptorOrDie()
-
-
-
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()
ReturnsDescriptorwhose 'clazz' is the same asthe 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.
-
-