Interface RuleConfig.Builder

    • Method Detail

      • inverted

        RuleConfig.Builder inverted​(Boolean inverted)

        Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.

        Parameters:
        inverted - Logical negation of the rule. If the rule would usually evaluate true, it's evaluated as false, and vice versa.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • threshold

        RuleConfig.Builder threshold​(Integer threshold)

        The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.

        Parameters:
        threshold - The value of N, when you specify an ATLEAST rule type. That is, Threshold is the number of controls that must be set when you specify an ATLEAST type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        RuleConfig.Builder type​(String type)

        A rule can be one of the following: ATLEAST, AND, or OR.

        Parameters:
        type - A rule can be one of the following: ATLEAST, AND, or OR.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RuleType, RuleType
      • type

        RuleConfig.Builder type​(RuleType type)

        A rule can be one of the following: ATLEAST, AND, or OR.

        Parameters:
        type - A rule can be one of the following: ATLEAST, AND, or OR.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RuleType, RuleType