Interface SupportsConditionFactory

All Superinterfaces:
BooleanConditionFactory
All Known Implementing Classes:
SupportsConditionFactory

public interface SupportsConditionFactory extends BooleanConditionFactory
Contains factory methods related to @supports conditions.
  • Method Details

    • createFalseCondition

      BooleanCondition createFalseCondition(String conditionText)
      Create a condition that was not recognized by the parser and therefore will never match.

      False conditions belong to the OTHER type.

      Parameters:
      conditionText - the condition that was not recognized.
      Returns:
      a condition that never matches.
    • createSelectorFunction

      BooleanCondition createSelectorFunction(SelectorList selectors)
      Create a selector function.
      Parameters:
      selectors - the selectors.
      Returns:
      the condition.