Interface PlacementConstraintParser.ConstraintTokenizer

All Superinterfaces:
Enumeration<String>
All Known Implementing Classes:
PlacementConstraintParser.BaseStringTokenizer, PlacementConstraintParser.ConjunctionTokenizer, PlacementConstraintParser.MultipleConstraintsTokenizer, PlacementConstraintParser.SourceTagsTokenizer
Enclosing class:
PlacementConstraintParser

public static interface PlacementConstraintParser.ConstraintTokenizer extends Enumeration<String>
Tokenizer interface that used to parse an expression. It first validates if the syntax of the given expression is valid, then traverse the expression and parse it to an enumeration of strings. Each parsed string can be further consumed by a PlacementConstraintParser.ConstraintParser and transformed to a PlacementConstraint.AbstractConstraint.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Validate the schema before actual parsing the expression.

    Methods inherited from interface java.util.Enumeration

    asIterator, hasMoreElements, nextElement