Sdílet prostřednictvím


AssignmentType Class

public final class AssignmentType
extends ExpandableStringEnum<AssignmentType>

The type of policy assignment. Possible values are NotSpecified, System, SystemHidden, and Custom. Immutable.

Field Summary

Modifier and Type Field and Description
static final AssignmentType CUSTOM

Static value Custom for AssignmentType.

static final AssignmentType NOT_SPECIFIED

Static value NotSpecified for AssignmentType.

static final AssignmentType SYSTEM

Static value System for AssignmentType.

static final AssignmentType SYSTEM_HIDDEN

Static value SystemHidden for AssignmentType.

Constructor Summary

Constructor Description
AssignmentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AssignmentType value.

Method Summary

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

Creates or finds a AssignmentType from its string representation.

static Collection<AssignmentType> values()

Gets known AssignmentType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CUSTOM

public static final AssignmentType CUSTOM

Static value Custom for AssignmentType.

NOT_SPECIFIED

public static final AssignmentType NOT_SPECIFIED

Static value NotSpecified for AssignmentType.

SYSTEM

public static final AssignmentType SYSTEM

Static value System for AssignmentType.

SYSTEM_HIDDEN

public static final AssignmentType SYSTEM_HIDDEN

Static value SystemHidden for AssignmentType.

Constructor Details

AssignmentType

@Deprecated
public AssignmentType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AssignmentType value.

Method Details

fromString

public static AssignmentType fromString(String name)

Creates or finds a AssignmentType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding AssignmentType.

values

public static Collection<AssignmentType> values()

Gets known AssignmentType values.

Returns:

known AssignmentType values.

Applies to