org.gcube.datatransformation.datatransformationlibrary.reports
Enum Record.Status

java.lang.Object
  extended by java.lang.Enum<Record.Status>
      extended by org.gcube.datatransformation.datatransformationlibrary.reports.Record.Status
All Implemented Interfaces:
Serializable, Comparable<Record.Status>
Enclosing class:
Record

public static enum Record.Status
extends Enum<Record.Status>

Author:
Dimitris Katris, NKUA

The status of a specific operation.

  • SUCCESSFUL - If the operation was performed successfully.
  • FAILED - If the operation failed to be performed.

  • Enum Constant Summary
    FAILED
              If the operation failed to be performed.
    SUCCESSFUL
              If the operation was performed successfully.
     
    Method Summary
    static Record.Status valueOf(String name)
              Returns the enum constant of this type with the specified name.
    static Record.Status[] 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

    SUCCESSFUL

    public static final Record.Status SUCCESSFUL
    If the operation was performed successfully.


    FAILED

    public static final Record.Status FAILED
    If the operation failed to be performed.

    Method Detail

    values

    public static Record.Status[] 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 (Record.Status c : Record.Status.values())
        System.out.println(c);
    

    Returns:
    an array containing the constants of this enum type, in the order they are declared

    valueOf

    public static Record.Status 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


    Copyright © 2013. All Rights Reserved.