Enum ReplicationOperationPhase

java.lang.Object
java.lang.Enum<ReplicationOperationPhase>
org.nuiton.topia.replication.model.ReplicationOperationPhase
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ReplicationOperationPhase>, java.lang.constant.Constable

public enum ReplicationOperationPhase
extends java.lang.Enum<ReplicationOperationPhase>
Une enumeration pour definir quand appliquer une operation. L'ordre induit par cette enumeration sera utilisé pour trier les operations a realiser sur chaque noeud de replication.
Since:
2.2.0
Author:
tchemit <chemit@codelutin.com>
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    after
    a appliquer apres avoir duplique le noeud
    before
    a appliquer avant la duplicate d'un noeud
    duplicate
    pour dupliquer un noeud (cette phase ne doit etre utilise que sur l'operation de type Duplicate
  • Method Summary

    Modifier and Type Method Description
    static ReplicationOperationPhase valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static ReplicationOperationPhase[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

  • Method Details

    • values

      public static ReplicationOperationPhase[] 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 ReplicationOperationPhase valueOf​(java.lang.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:
      java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
      java.lang.NullPointerException - if the argument is null