GridGain™ 2.1.0
Java API Specification

org.gridgain.grid.spi.discovery.mail
Enum GridMailDiscoveryInProtocol

java.lang.Object
  extended by java.lang.Enum<GridMailDiscoveryInProtocol>
      extended by org.gridgain.grid.spi.discovery.mail.GridMailDiscoveryInProtocol
All Implemented Interfaces:
Serializable, Comparable<GridMailDiscoveryInProtocol>

public enum GridMailDiscoveryInProtocol
extends Enum<GridMailDiscoveryInProtocol>

Grid mail discovery SPI incoming protocol.



See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

Author:   2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0

 

Enum Constant Summary
IMAP
          IMAP protocol.
IMAPS
          Secure IMAP protocol.
POP3
          POP3 protocol.
POP3S
          Secure POP3 protocol.
 
Method Summary
static GridMailDiscoveryInProtocol valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GridMailDiscoveryInProtocol[] 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

POP3

public static final GridMailDiscoveryInProtocol POP3
POP3 protocol.


POP3S

public static final GridMailDiscoveryInProtocol POP3S
Secure POP3 protocol.


IMAP

public static final GridMailDiscoveryInProtocol IMAP
IMAP protocol.


IMAPS

public static final GridMailDiscoveryInProtocol IMAPS
Secure IMAP protocol.

Method Detail

values

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

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

valueOf

public static GridMailDiscoveryInProtocol 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.)

Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name

GridGain™ 2.1.0
Java API Specification

GridGain™ - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved.