Interface PropertySupplier


@Contract public interface PropertySupplier
Since:
2.31
  • Method Summary

    Modifier and Type
    Method
    Description
    The properties to be applied.
    boolean
    isFor(Class<?> factoryOrParserClass)
    Define whether the property set is for the instances of the given class.
  • Method Details

    • isFor

      boolean isFor(Class<?> factoryOrParserClass)
      Define whether the property set is for the instances of the given class.
      Parameters:
      factoryOrParserClass - the class for which instance the property set is to be applied.
      Returns:
      true if this contract implementation is for given class.
    • getProperties

      Map<String,Object> getProperties()
      The properties to be applied.
      Returns:
      the property Map with keys and Object values to be applied.