public static enum IUserSummary.UserType extends Enum<IUserSummary.UserType>
| Enum Constant and Description |
|---|
OPERATOR |
SERVICE |
STANDARD |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static IUserSummary.UserType |
fromString(String str)
Return a suitable User type as inferred from the passed-in
string, which is assumed to be the string form of a User type.
|
static IUserSummary.UserType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IUserSummary.UserType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IUserSummary.UserType STANDARD
public static final IUserSummary.UserType OPERATOR
public static final IUserSummary.UserType SERVICE
public static final IUserSummary.UserType UNKNOWN
public static IUserSummary.UserType[] values()
for (IUserSummary.UserType c : IUserSummary.UserType.values()) System.out.println(c);
public static IUserSummary.UserType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static IUserSummary.UserType fromString(String str)
Copyright © 2017 Perforce Software. All Rights Reserved.