Annotation Interface Property
Specifies that this field is part of the configuration item. It will be injected with the correct value to be read from runbooks.
N.B.: If this annotation is used on a field of an Enum type, the enum should not have a toString method defined.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDefines a number of standard sizes for configuration item properties. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhether this property is modeled as a parent/child containment instead of a foreign key reference in the JCR tree.TheCandidateValuesFilterto apply when selecting values for this CI, SET_OF_CI, LIST_OF_CI propertyThe category of this property.A Default value for a Property.The description of this property as it should be shown in the user interface.booleanWhether this property is hidden, ie.booleanWhether or not this property is transient, ie.The descriptive id of this property as it should be shown in the user interface.booleanWhether this property is a nested CI.booleanWhether this property is a password property.booleanWhether or not this property is readonly.booleanWhether this property is required.The size of this property as it should be shown in the user interface.
-
Element Details
-
asContainment
boolean asContainmentWhether this property is modeled as a parent/child containment instead of a foreign key reference in the JCR tree.- Default:
- false
-
nested
boolean nestedWhether this property is a nested CI.- Default:
- false
-
category
String categoryThe category of this property. In the user interface all the properties belonging to the same category will be grouped together.- Default:
- "Common"
-
label
String labelThe descriptive id of this property as it should be shown in the user interface. If no id is not specified, the name of the field is used. Camel case in the field name is replaced by spaces and the first character is capitalized, e.g. "classLoaderPolicy" is transformed into "Class loader policy".- Default:
- ""
-
description
String descriptionThe description of this property as it should be shown in the user interface. If no description is specified, the id is used.- Default:
- ""
-
required
boolean requiredWhether this property is required.- Default:
- true
-
password
boolean passwordWhether this property is a password property. If true this field will be masked in the user interface.- Default:
- false
-
size
Property.Size sizeThe size of this property as it should be shown in the user interface.- Default:
- DEFAULT
-
defaultValue
String defaultValueA Default value for a Property. Can only be a String due to Java limitations. PropertyDescriptor will convert it for you.- Default:
- ""
-
isTransient
boolean isTransientWhether or not this property is transient, ie. it won't be persisted when the CI is persisted. N.B.: You cannot use 'real' transient fields, due to the recovery of tasks.- Default:
- false
-
candidateValuesFilter
String candidateValuesFilterTheCandidateValuesFilterto apply when selecting values for this CI, SET_OF_CI, LIST_OF_CI property- Returns:
- The name of the
CandidateValuesFilter
- Default:
- ""
-
readonly
boolean readonlyWhether or not this property is readonly. If readonly, the property cannot be updated.- Default:
- false
-