Enum LabelParsedEventType

java.lang.Object
java.lang.Enum<LabelParsedEventType>
org.neo4j.cypherdsl.parser.LabelParsedEventType
All Implemented Interfaces:
Serializable, Comparable<LabelParsedEventType>

@API(status=STABLE, since="2021.3.0") public enum LabelParsedEventType extends Enum<LabelParsedEventType>
Type of an event when a label is parsed and created.
Since:
2021.3.0
Author:
Michael J. Simons
  • Enum Constant Details

    • ON_NODE_PATTERN

      public static final LabelParsedEventType ON_NODE_PATTERN
      Parsed when creating a node pattern.
    • ON_SET

      public static final LabelParsedEventType ON_SET
      Parsed in the context of setting new labels.
    • ON_REMOVE

      public static final LabelParsedEventType ON_REMOVE
      Parsed in the context of removing labels.
  • Method Details

    • values

      public static LabelParsedEventType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static LabelParsedEventType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null