Interface SetProperty<T>

    • Method Detail

      • empty

        SetProperty<T> empty()
        Sets the value of this property to an empty collection, and replaces any existing value.
        Specified by:
        empty in interface HasMultipleValues<T>
        Returns:
        this property.
      • convention

        SetProperty<T> convention​(Iterable<? extends T> elements)
        Specifies the value to use as the convention for this property. The convention is used when no value has been set for this property.
        Specified by:
        convention in interface HasMultipleValues<T>
        Parameters:
        elements - The elements
        Returns:
        this
      • convention

        SetProperty<T> convention​(Provider<? extends Iterable<? extends T>> provider)
        Specifies the provider of the value to use as the convention for this property. The convention is used when no value has been set for this property.
        Specified by:
        convention in interface HasMultipleValues<T>
        Parameters:
        provider - The provider of the elements
        Returns:
        this