org.nuiton.topia.replication.model
Enum ReplicationOperationPhase

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

public enum ReplicationOperationPhase
extends java.lang.Enum<ReplicationOperationPhase>

Une enumeration pour definir quand appliquer une operation. L'ordre induit par cette enumeration sera utiliser pour trier les operations a realiser sur chaque noeud de replication.

Author:
chemit

Enum Constant Summary
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
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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

before

public static final ReplicationOperationPhase before
a appliquer avant la duplicate d'un noeud


duplicate

public static final ReplicationOperationPhase duplicate
pour dupliquer un noeud (cette phase ne doit etre utilise que sur l'operation de type Duplicate


after

public static final ReplicationOperationPhase after
a appliquer apres avoir duplique le noeud

Method Detail

values

public static ReplicationOperationPhase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ReplicationOperationPhase c : ReplicationOperationPhase.values())
    System.out.println(c);

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


Copyright © 2004-2010 CodeLutin. All Rights Reserved.