Aracılığıyla paylaş


UserType Class

public final class UserType
extends ExpandableStringEnum<UserType>

Type of the user.

Field Summary

Modifier and Type Field and Description
static final UserType ARM

Static value ARM for UserType.

static final UserType LOCAL_MANAGEMENT

Static value LocalManagement for UserType.

static final UserType SHARE

Static value Share for UserType.

Constructor Summary

Constructor Description
UserType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UserType value.

Method Summary

Modifier and Type Method and Description
static UserType fromString(String name)

Creates or finds a UserType from its string representation.

static Collection<UserType> values()

Gets known UserType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ARM

public static final UserType ARM

Static value ARM for UserType.

LOCAL_MANAGEMENT

public static final UserType LOCAL_MANAGEMENT

Static value LocalManagement for UserType.

SHARE

public static final UserType SHARE

Static value Share for UserType.

Constructor Details

UserType

@Deprecated
public UserType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of UserType value.

Method Details

fromString

public static UserType fromString(String name)

Creates or finds a UserType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding UserType.

values

public static Collection<UserType> values()

Gets known UserType values.

Returns:

known UserType values.

Applies to