com.lenovo.android.app.admin
Enum LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType

java.lang.Object
  extended by java.lang.Enum<LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType>
      extended by com.lenovo.android.app.admin.LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType>
Enclosing class:
LenovoDevicePolicyManager.LenovoEmailServerInfo

public static enum LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType
extends java.lang.Enum<LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType>


Enum Constant Summary
EXCHANGE
          Exchange Email Type
GMAIL
          GMail Email Type
UNKNOWN
          Unknown Email Type
 
Method Summary
static LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType[] 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

EXCHANGE

public static final LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType EXCHANGE
Exchange Email Type


GMAIL

public static final LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType GMAIL
GMail Email Type


UNKNOWN

public static final LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType UNKNOWN
Unknown Email Type

Method Detail

valueOf

public static LenovoDevicePolicyManager.LenovoEmailServerInfo.EmailType 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
java.lang.NullPointerException - if the argument is null

values

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

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