org.gcube.portlets.admin.software_upload_wizard.shared
Enum ImportStatus

java.lang.Object
  extended by java.lang.Enum<ImportStatus>
      extended by org.gcube.portlets.admin.software_upload_wizard.shared.ImportStatus
All Implemented Interfaces:
Serializable, Comparable<ImportStatus>

public enum ImportStatus
extends Enum<ImportStatus>

Author:
Federico De Faveri defaveri@isti.cnr.it

Enum Constant Summary
CHECKING
          When the import parameters are under checking.
COMPLETED
          When the import is completed.
CONFIGURING
          When the user is setting the import parameters
CREATED
          When the GUI ask for a ticket
FAILED
          When the import is failed.
IMPORTING
          When the service is importing the csv lines.
TRANSMITTING
          When the file is sent to the service.
UPLOAD_COMPLETE
          When the upload is completed.
UPLOADING
          When the browser is sending the file
 
Method Summary
static ImportStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ImportStatus[] 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

CREATED

public static final ImportStatus CREATED
When the GUI ask for a ticket


UPLOADING

public static final ImportStatus UPLOADING
When the browser is sending the file


UPLOAD_COMPLETE

public static final ImportStatus UPLOAD_COMPLETE
When the upload is completed.


CONFIGURING

public static final ImportStatus CONFIGURING
When the user is setting the import parameters


CHECKING

public static final ImportStatus CHECKING
When the import parameters are under checking.


TRANSMITTING

public static final ImportStatus TRANSMITTING
When the file is sent to the service.


IMPORTING

public static final ImportStatus IMPORTING
When the service is importing the csv lines.


COMPLETED

public static final ImportStatus COMPLETED
When the import is completed.


FAILED

public static final ImportStatus FAILED
When the import is failed.

Method Detail

values

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

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

valueOf

public static ImportStatus 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.