Enum Counters.Empty

java.lang.Object
java.lang.Enum<Counters.Empty>
ac.simons.neo4j.migrations.core.refactorings.Counters.Empty
All Implemented Interfaces:
Counters, Serializable, Comparable<Counters.Empty>
Enclosing interface:
Counters

public static enum Counters.Empty extends Enum<Counters.Empty> implements Counters
An empty instance.
  • Enum Constant Details

    • INSTANCE

      public static final Counters.Empty INSTANCE
      The single, empty instance.
  • Method Details

    • values

      public static Counters.Empty[] 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 Counters.Empty 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
    • nodesCreated

      public int nodesCreated()
      Specified by:
      nodesCreated in interface Counters
      Returns:
      Number of nodes created
    • nodesDeleted

      public int nodesDeleted()
      Specified by:
      nodesDeleted in interface Counters
      Returns:
      Number of nodes deleted
    • labelsAdded

      public int labelsAdded()
      Specified by:
      labelsAdded in interface Counters
      Returns:
      Number of labels added
    • labelsRemoved

      public int labelsRemoved()
      Specified by:
      labelsRemoved in interface Counters
      Returns:
      Number of labels removed
    • typesAdded

      public int typesAdded()
      Specified by:
      typesAdded in interface Counters
      Returns:
      Number of types added
    • typesRemoved

      public int typesRemoved()
      Specified by:
      typesRemoved in interface Counters
      Returns:
      Number types removed
    • propertiesSet

      public int propertiesSet()
      Specified by:
      propertiesSet in interface Counters
      Returns:
      Number of properties changed
    • indexesAdded

      public int indexesAdded()
      Specified by:
      indexesAdded in interface Counters
      Returns:
      number of indexes added to the schema.
    • indexesRemoved

      public int indexesRemoved()
      Specified by:
      indexesRemoved in interface Counters
      Returns:
      number of indexes removed from the schema.
    • constraintsAdded

      public int constraintsAdded()
      Specified by:
      constraintsAdded in interface Counters
      Returns:
      number of constraints added to the schema.
    • constraintsRemoved

      public int constraintsRemoved()
      Specified by:
      constraintsRemoved in interface Counters
      Returns:
      number of constraints removed from the schema.
    • add

      public Counters add(Counters rhs)
      Description copied from interface: Counters
      Add rhs to this instance, creating a new one
      Specified by:
      add in interface Counters
      Parameters:
      rhs - The counters to add to this instance
      Returns:
      a new set of counters