Interface IWithSourceProperties

    • Method Detail

      • getSourceProperties

        Map<String,​Property> getSourceProperties()
        Returns:
        Map of source properties for the implementer of interface
      • getSourceProperty

        default Property getSourceProperty​(String name)
        Gets the source property for a given name.
        Parameters:
        name - The name of the source property to retrieve.
        Returns:
        The property or null if it does not exist.
      • getSourcePropertyNames

        default Set<String> getSourcePropertyNames()
        Gets the names of all the source properties for this resource.
        Returns:
        All the names of the source properties for this resource.
      • hasSourceProperty

        default boolean hasSourceProperty​(String name)
        Indicates if a source property exists for a given name.
        Parameters:
        name - The name of the source property to query.
        Returns:
        True if a source property exists, false otherwise.
      • removeSourceProperty

        default void removeSourceProperty​(String name)
        Removes a source property of a given name. If the property does not exists nothing happens.
        Parameters:
        name - The name of the property to remove.
      • setSourceProperty

        default Property setSourceProperty​(Property property)
        Sets a source property. If a property already exists it is overwritten.
        Parameters:
        property - The new property to set.
        Returns:
        The property that has been set.