EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.tucana
Enum Status

java.lang.Object
  extended by java.lang.Enum<Status>
      extended by echopoint.tucana.Status
All Implemented Interfaces:
Serializable, Comparable<Status>

public enum Status
extends Enum<Status>

Enumeration of status values for the state of the upload progress.

Note: Development of this component was sponsored by TCN Broadcasting. We are grateful for their support and sponsorship.

Version:
$Id: Status.java 102 2008-11-17 20:10:05Z sptrakesh $
Author:
Rakesh 2008-11-09

Enum Constant Summary
cancelled
          Indicator that file upload/download was cancelled.
completed
          Indicator that a file upload/download has finished successfully.
disallowed
          Indicator the file upload/download was disallowed by the server.
failed
          Indicator that a file upload/download failed due to reasons other than user cancellation.
inprogress
          Indicator that a file upload/download is in progress.
 
Method Summary
static Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static 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

completed

public static final Status completed
Indicator that a file upload/download has finished successfully.


cancelled

public static final Status cancelled
Indicator that file upload/download was cancelled.


disallowed

public static final Status disallowed
Indicator the file upload/download was disallowed by the server.


failed

public static final Status failed
Indicator that a file upload/download failed due to reasons other than user cancellation.


inprogress

public static final Status inprogress
Indicator that a file upload/download is in progress.

Method Detail

values

public static 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 (Status c : 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 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

EchoPoint API - 3.0.0b5
App Webcontainer