com.ibm.pim.utils
Enum Distribution.Type

java.lang.Object
  extended by java.lang.Enum<Distribution.Type>
      extended by com.ibm.pim.utils.Distribution.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Distribution.Type>
Enclosing interface:
Distribution

public static enum Distribution.Type
extends java.lang.Enum<Distribution.Type>

Distribution Type


Enum Constant Summary
CUSTOM
          Distribution via writing custom script
EMAIL
          Distribution via e-mail
FTP
          Distribution via a FTP site
POST
          Distribution via WWW posting
 
Method Summary
static Distribution.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Distribution.Type[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FTP

public static final Distribution.Type FTP
Distribution via a FTP site


EMAIL

public static final Distribution.Type EMAIL
Distribution via e-mail


POST

public static final Distribution.Type POST
Distribution via WWW posting


CUSTOM

public static final Distribution.Type CUSTOM
Distribution via writing custom script

Method Detail

values

public static final Distribution.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Distribution.Type c : Distribution.Type.values())
        System.out.println(c);

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

valueOf

public static Distribution.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name