com.xebialabs.deployit.plugin.api.reflect
Class PropertyDescriptor
java.lang.Object
com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
public class PropertyDescriptor
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PropertyDescriptor
public PropertyDescriptor(java.lang.String name)
getName
public java.lang.String getName()
getField
public java.lang.reflect.Field getField()
getDescription
public java.lang.String getDescription()
isAsContainment
public boolean isAsContainment()
getCategory
public java.lang.String getCategory()
getLabel
public java.lang.String getLabel()
isPassword
public boolean isPassword()
isRequired
public boolean isRequired()
getSize
public Property.Size getSize()
getKind
public PropertyKind getKind()
getEnumValues
public java.util.List<java.lang.String> getEnumValues()
getDeclaringDescriptor
public Descriptor getDeclaringDescriptor()
getReferencedType
public Type getReferencedType()
getDefaultValue
public java.lang.Object getDefaultValue()
isHidden
public boolean isHidden()
get
public java.lang.Object get(ConfigurationItem item)
set
public void set(ConfigurationItem item,
java.lang.Object value)
areEqual
public boolean areEqual(ConfigurationItem item,
ConfigurationItem other)
isInspectionProperty
public boolean isInspectionProperty()
isRequiredForInspection
public boolean isRequiredForInspection()
isTransient
public boolean isTransient()
getFqn
public java.lang.String getFqn()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
emptyValue
public java.lang.Object emptyValue()
setDeclaringDescriptor
public void setDeclaringDescriptor(Descriptor declaringDescriptor)
setName
public void setName(java.lang.String name)
setField
public void setField(java.lang.reflect.Field field)
setAsContainment
public void setAsContainment(boolean asContainment)
setCategory
public void setCategory(java.lang.String category)
setDescription
public void setDescription(java.lang.String description)
setLabel
public void setLabel(java.lang.String label)
setPassword
public void setPassword(boolean password)
setRequired
public void setRequired(boolean required)
setSize
public void setSize(Property.Size size)
setKind
public void setKind(PropertyKind kind)
setEnumValues
public void setEnumValues(java.util.List<java.lang.String> enumValues)
setEnumClass
public void setEnumClass(java.lang.Class<?> enumClass)
setReferencedType
public void setReferencedType(Type referencedType)
setHidden
public void setHidden(boolean hidden)
setInspectionProperty
public void setInspectionProperty(boolean inspectionProperty)
setRequiredForInspection
public void setRequiredForInspection(boolean requiredForInspection)
setTransient
public void setTransient(boolean isTransient)
setValidationRules
public void setValidationRules(java.util.Set<Validator<?>> validationRules)
setDefaultValue
public void setDefaultValue(java.lang.String defaultValue)