Enum Class AggregationState

java.lang.Object
java.lang.Enum<AggregationState>
org.gcube.accounting.aggregator.status.AggregationState
All Implemented Interfaces:
Serializable, Comparable<AggregationState>, Constable

public enum AggregationState extends Enum<AggregationState>
Author:
Luca Frosini (ISTI - CNR)
  • Enum Constant Details

    • RESTARTED

      public static final AggregationState RESTARTED
      The Aggregation has been started
    • STARTED

      public static final AggregationState STARTED
      The Aggregation has been started
    • AGGREGATED

      public static final AggregationState AGGREGATED
      Original Records were aggregated. Original Records and Aggregated ones has been saved on a local files
    • DELETED

      public static final AggregationState DELETED
      Original Records has been deleted from DB.
    • ADDED

      public static final AggregationState ADDED
      Aggregated Records has been saved on DB and the backup file has been deleted
    • COMPLETED

      public static final AggregationState COMPLETED
      The backup file of Original Records has been saved on Workspace and the local file has been deleted
  • Method Details

    • values

      public static AggregationState[] 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 AggregationState 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
    • canContinue

      public static boolean canContinue(AggregationState effective, AggregationState desired) throws Exception
      Throws:
      Exception