com.ecebs.rtd.enabler
Enum DownloadMode

java.lang.Object
  extended by java.lang.Enum<DownloadMode>
      extended by com.ecebs.rtd.enabler.DownloadMode
All Implemented Interfaces:
Serializable, Comparable<DownloadMode>

public enum DownloadMode
extends Enum<DownloadMode>

Specifier for the type of action to carry out


Enum Constant Summary
DOWNLOAD_ANY
          Register the request and carry it out, as well as any pending requests
DOWNLOAD_SPECIFIC
          Register the request and carry out only the specified request
NO_DOWNLOAD
          Register the request, but don't carry it out
 
Method Summary
static DownloadMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DownloadMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NO_DOWNLOAD

public static final DownloadMode NO_DOWNLOAD
Register the request, but don't carry it out


DOWNLOAD_SPECIFIC

public static final DownloadMode DOWNLOAD_SPECIFIC
Register the request and carry out only the specified request


DOWNLOAD_ANY

public static final DownloadMode DOWNLOAD_ANY
Register the request and carry it out, as well as any pending requests

Method Detail

values

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

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

valueOf

public static DownloadMode 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 Ecebs Ltd. All Rights Reserved.