Enum Class ReconciliationAction

java.lang.Object
java.lang.Enum<ReconciliationAction>
io.clonecloudstore.reconciliator.model.ReconciliationAction
All Implemented Interfaces:
Serializable, Comparable<ReconciliationAction>, Constable

public enum ReconciliationAction extends Enum<ReconciliationAction>
  • Enum Constant Details

    • UNKNOWN_ACTION

      public static final ReconciliationAction UNKNOWN_ACTION
    • DELETED_ACTION

      public static final ReconciliationAction DELETED_ACTION
      Driver and MD already deleted
    • DELETE_ACTION

      public static final ReconciliationAction DELETE_ACTION
      To Delete if possible MD and Driver (one or both)
    • READY_ACTION

      public static final ReconciliationAction READY_ACTION
      Object fully Ready
    • UPDATE_ACTION

      public static final ReconciliationAction UPDATE_ACTION
      Driver Ready, partial MD
    • UPLOAD_ACTION

      public static final ReconciliationAction UPLOAD_ACTION
      MD almost Ready, Driver absent
    • UPGRADE_ACTION

      public static final ReconciliationAction UPGRADE_ACTION
      For Disaster Recovery or New site initialization
    • ERROR_ACTION

      public static final ReconciliationAction ERROR_ACTION
      When no Ready like available while UPLOAD action
  • Method Details

    • values

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

      public static ReconciliationAction valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromStatusCode

      public static ReconciliationAction fromStatusCode(short code)
    • getStatus

      public short getStatus()