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

The custom assignment type.

static final AssignmentType NOT_SPECIFIED

The not specified assignment type.

static final AssignmentType SYSTEM

The system assignment type.

static final AssignmentType SYSTEM_HIDDEN

The system hidden assignment type.

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

The custom assignment type.

NOT_SPECIFIED

public static final AssignmentType NOT_SPECIFIED

The not specified assignment type.

SYSTEM

public static final AssignmentType SYSTEM

The system assignment type.

SYSTEM_HIDDEN

public static final AssignmentType SYSTEM_HIDDEN

The system hidden assignment type.

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