Interface SPropertyHolder

    • Method Detail

      • setProperties

        boolean setProperties​(@NotNull
                              Map<? extends PropertyKey,​String> properties)
        Updates the specified properties. Only those properties will be updated which keys are specified in the properties map. All other properties will be left intact.
        Parameters:
        properties - properties
        Returns:
        true if at least one property was changed, false otherwise
      • setProperty

        boolean setProperty​(@NotNull
                            PropertyKey propertyKey,
                            String value)
        Sets a property with specified key and value.
        Parameters:
        propertyKey - property key
        value - value of the property
        Returns:
        true if the property value was actually changed, false otherwise
      • deleteProperty

        boolean deleteProperty​(@NotNull
                               PropertyKey propertyKey)
        Deletes a property with specified key.
        Parameters:
        propertyKey - property key
        Returns:
        true if the property was actually deleted, false otherwise