Class LocalPropertyDescriptor

    • Field Detail

      • logger

        protected final org.slf4j.Logger logger
      • validationRules

        protected java.util.Set<com.xebialabs.deployit.plugin.api.validation.Validator<?>> validationRules
    • Method Detail

      • reInitializeRequired

        protected void reInitializeRequired()
      • initEnumValues

        protected void initEnumValues​(java.lang.Class<?> enumClass)
      • addDefaultValidationRules

        protected void addDefaultValidationRules()
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • isAsContainment

        public boolean isAsContainment()
        Specified by:
        isAsContainment in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • isNested

        public boolean isNested()
        Specified by:
        isNested in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • getCategory

        public java.lang.String getCategory()
        Specified by:
        getCategory in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • getLabel

        public java.lang.String getLabel()
        Specified by:
        getLabel in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • isPassword

        public boolean isPassword()
        Specified by:
        isPassword in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • isRequired

        public boolean isRequired()
        Specified by:
        isRequired in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • getSize

        public com.xebialabs.deployit.plugin.api.udm.Property.Size getSize()
        Specified by:
        getSize in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • getKind

        public com.xebialabs.deployit.plugin.api.reflect.PropertyKind getKind()
        Specified by:
        getKind in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • getEnumValues

        public java.util.List<java.lang.String> getEnumValues()
        Specified by:
        getEnumValues in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • getEnumClass

        public java.lang.Class<?> getEnumClass()
      • getReferencedType

        public com.xebialabs.deployit.plugin.api.reflect.Type getReferencedType()
        Specified by:
        getReferencedType in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • getDefaultValue

        public java.lang.Object getDefaultValue()
        Specified by:
        getDefaultValue in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • registerDefault

        protected void registerDefault​(java.lang.String defaultValue)
      • registerDefault

        protected void registerDefault​(com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor superPropertyDescriptor)
      • getAliases

        public java.util.Set<java.lang.String> getAliases()
        Specified by:
        getAliases in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • getCandidateValuesFilter

        public java.lang.String getCandidateValuesFilter()
        Specified by:
        getCandidateValuesFilter in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • isHidden

        public boolean isHidden()
        Specified by:
        isHidden in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • set

        public void set​(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem item,
                        java.lang.Object value)
        Specified by:
        set in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • doSetValue

        protected abstract void doSetValue​(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem item,
                                           java.lang.Object value)
      • areEqual

        public boolean areEqual​(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem item,
                                com.xebialabs.deployit.plugin.api.udm.ConfigurationItem other)
        Specified by:
        areEqual in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • areEqual

        public boolean areEqual​(com.xebialabs.deployit.plugin.api.udm.ConfigurationItem item,
                                com.xebialabs.deployit.plugin.api.udm.ConfigurationItem other,
                                java.util.function.Function<com.xebialabs.deployit.plugin.api.udm.ConfigurationItem,​java.lang.Object> identifierExtractor)
        Specified by:
        areEqual in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • isInspectionProperty

        public boolean isInspectionProperty()
        Specified by:
        isInspectionProperty in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • isRequiredForInspection

        public boolean isRequiredForInspection()
        Specified by:
        isRequiredForInspection in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • isTransient

        public boolean isTransient()
        Specified by:
        isTransient in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • isReadonly

        public boolean isReadonly()
        Specified by:
        isReadonly in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • getFqn

        public java.lang.String getFqn()
        Specified by:
        getFqn in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • isDeployedSpecific

        public boolean isDeployedSpecific()
        Specified by:
        isDeployedSpecific in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • getInputHint

        public com.xebialabs.deployit.plugin.api.reflect.InputHint getInputHint()
        Specified by:
        getInputHint in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • getAnnotations

        public java.util.List<java.lang.annotation.Annotation> getAnnotations()
        Specified by:
        getAnnotations in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor
        Overrides:
        toString in class java.lang.Object
      • emptyValue

        public java.lang.Object emptyValue()
      • setName

        protected void setName​(java.lang.String name)
      • setAsContainment

        protected void setAsContainment​(boolean asContainment)
      • setNested

        protected void setNested​(boolean nested)
      • setCategory

        protected void setCategory​(java.lang.String category)
      • setDescription

        protected void setDescription​(java.lang.String description)
      • setLabel

        protected void setLabel​(java.lang.String label)
      • setPassword

        protected void setPassword​(boolean password)
      • setRequired

        protected void setRequired​(boolean required)
      • setSize

        protected void setSize​(com.xebialabs.deployit.plugin.api.udm.Property.Size size)
      • setKind

        protected void setKind​(com.xebialabs.deployit.plugin.api.reflect.PropertyKind kind)
      • setPrimitiveKind

        protected void setPrimitiveKind​(com.xebialabs.deployit.plugin.api.reflect.PropertyKind kind)
      • setEnumValues

        protected void setEnumValues​(java.util.List<java.lang.String> enumValues)
      • setEnumClass

        protected void setEnumClass​(java.lang.Class<?> enumClass)
      • setHidden

        protected void setHidden​(boolean hidden)
      • setReferencedType

        protected void setReferencedType​(com.xebialabs.deployit.plugin.api.reflect.Type referencedType)
      • setInspectionProperty

        protected void setInspectionProperty​(boolean inspectionProperty)
      • setTransient

        protected void setTransient​(boolean aTransient)
      • setReadonly

        protected void setReadonly​(boolean aReadonly)
      • setCandidateValuesFilter

        protected void setCandidateValuesFilter​(java.lang.String candidateValuesFilter)
      • setDeployedSpecific

        protected void setDeployedSpecific​(boolean deployedSpecific)
      • setDeclaringDescriptor

        protected void setDeclaringDescriptor​(LocalDescriptor declaringDescriptor)
      • setRequiredForInspection

        protected void setRequiredForInspection​(boolean requiredForInspection)
      • setAliases

        protected void setAliases​(java.util.Set<java.lang.String> aliases)
      • setValidationRules

        protected void setValidationRules​(java.util.Set<com.xebialabs.deployit.plugin.api.validation.Validator<?>> validationRules)
      • setInputHint

        protected void setInputHint​(com.xebialabs.deployit.plugin.api.reflect.InputHint inputHint)
      • setAnnotations

        protected void setAnnotations​(java.util.List<java.lang.annotation.Annotation> annotations)
      • getTypeSource

        public com.xebialabs.deployit.plugin.api.reflect.DescriptorRegistryId getTypeSource()
        Specified by:
        getTypeSource in interface com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor