com.sun.enterprise.ee.cms.core
Enum GroupManagementService.MemberType
java.lang.Object
java.lang.Enum<GroupManagementService.MemberType>
com.sun.enterprise.ee.cms.core.GroupManagementService.MemberType
- All Implemented Interfaces:
- Serializable, Comparable<GroupManagementService.MemberType>
- Enclosing interface:
- GroupManagementService
public static enum GroupManagementService.MemberType
- extends Enum<GroupManagementService.MemberType>
Members joining the group should be one of the following
types. Core members are ones whose failure is a material event
to the group, Spectators are those whose failure is not a
material event to other group members.
CORE
public static final GroupManagementService.MemberType CORE
SPECTATOR
public static final GroupManagementService.MemberType SPECTATOR
values
public static final GroupManagementService.MemberType[] 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(GroupManagementService.MemberType c : GroupManagementService.MemberType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static GroupManagementService.MemberType 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
Copyright © 2003 Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.