Class CAConfigModel.PropertyInfo

    • Field Detail

      • valueInfo

        protected final org.apache.sling.caconfig.management.ValueInfo<?> valueInfo
      • name

        protected final String name
      • metadata

        protected final org.apache.sling.caconfig.spi.metadata.ConfigurationMetadata metadata
    • Constructor Detail

      • PropertyInfo

        public PropertyInfo​(String name,
                            org.apache.sling.caconfig.management.ValueInfo<?> valueInfo)
    • Method Detail

      • getValueInfo

        public org.apache.sling.caconfig.management.ValueInfo<?> getValueInfo()
      • getName

        public String getName()
      • getMetadata

        public org.apache.sling.caconfig.spi.metadata.ConfigurationMetadata getMetadata()
      • isResourceExists

        public boolean isResourceExists()
      • isMultiValue

        public boolean isMultiValue()
      • getJsonValue

        public String getJsonValue()
      • getRenderedValue

        public String getRenderedValue()
      • isRequired

        public boolean isRequired()
      • getProperties

        public Properties getProperties()
        All properties except "required", which is handled in isRequired().
      • getTypeName

        public String getTypeName()
      • getBasicTypeName

        protected String getBasicTypeName​(Class<?> clazz)