com.agimatec.utility.fileimport
Enum ImportState

java.lang.Object
  extended by java.lang.Enum<ImportState>
      extended by com.agimatec.utility.fileimport.ImportState
All Implemented Interfaces:
Serializable, Comparable<ImportState>

public enum ImportState
extends Enum<ImportState>

Description:
User: roman.stumm
Date: 16.06.2008
Time: 12:08:04
Copyright: Agimatec GmbH


Enum Constant Summary
CANCELLED
          import cancelled, finished abnormally
DONE
          import completly done (with or without errors)
IDLE
          import not yet started / scheduled / waiting to receive lock
RUNNING
          import currently running
 
Method Summary
static ImportState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ImportState[] 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

IDLE

public static final ImportState IDLE
import not yet started / scheduled / waiting to receive lock


RUNNING

public static final ImportState RUNNING
import currently running


DONE

public static final ImportState DONE
import completly done (with or without errors)


CANCELLED

public static final ImportState CANCELLED
import cancelled, finished abnormally

Method Detail

values

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

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

valueOf

public static ImportState 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 © 2008-2011. All Rights Reserved.