Class PropertyDeprecationHandler

    • Field Detail

      • properties

        protected final Map<String,​Map<String,​String>> properties
        Deprecated.
        Deprecated/removed properties map, its mapping is:

        schemaName -> propertyXPath -> fallbackXPath

    • Method Detail

      • hasMarkedProperties

        public boolean hasMarkedProperties​(String schema)
        Deprecated.
        Returns:
        true if the input property has deprecated/removed property
      • getProperties

        public Set<StringgetProperties​(String schema)
        Deprecated.
        Returned properties are a path to marked property.
        Returns:
        the deprecated/removed properties for input schema or an empty set if schema doesn't have marked properties
      • isMarked

        public boolean isMarked​(String schema,
                                String name)
        Deprecated.
        Returns:
        true if the input property is marked as deprecated/removed
      • getFallback

        public String getFallback​(String schema,
                                  String name)
        Deprecated.
        Returns:
        the fallback of input property, if it is marked as deprecated/removed and has a fallback