Class AbstractFilter.AbstractFilterBuilder<B extends AbstractFilter.AbstractFilterBuilder<B>>

    • Constructor Detail

      • AbstractFilterBuilder

        public AbstractFilterBuilder()
    • Method Detail

      • setOnMatch

        public B setOnMatch​(Filter.Result onMatch)
        Sets the Result to return when the filter matches. Defaults to Result.NEUTRAL.
        Parameters:
        onMatch - the Result to return when the filter matches.
        Returns:
        this
      • setOnMismatch

        public B setOnMismatch​(Filter.Result onMismatch)
        Sets the Result to return when the filter does not match. The default is Result.DENY.
        Parameters:
        onMismatch - the Result to return when the filter does not match.
        Returns:
        this
      • asBuilder

        public B asBuilder()