OfficeTrafficCategory Class

public final class OfficeTrafficCategory
extends ExpandableStringEnum<OfficeTrafficCategory>

The office traffic category.

Field Summary

Modifier and Type Field and Description
static final OfficeTrafficCategory ALL

Static value All for OfficeTrafficCategory.

static final OfficeTrafficCategory NONE

Static value None for OfficeTrafficCategory.

static final OfficeTrafficCategory OPTIMIZE

Static value Optimize for OfficeTrafficCategory.

static final OfficeTrafficCategory OPTIMIZE_AND_ALLOW

Static value OptimizeAndAllow for OfficeTrafficCategory.

Constructor Summary

Constructor Description
OfficeTrafficCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OfficeTrafficCategory value.

Method Summary

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

Creates or finds a OfficeTrafficCategory from its string representation.

static Collection<OfficeTrafficCategory> values()

Gets known OfficeTrafficCategory values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALL

public static final OfficeTrafficCategory ALL

Static value All for OfficeTrafficCategory.

NONE

public static final OfficeTrafficCategory NONE

Static value None for OfficeTrafficCategory.

OPTIMIZE

public static final OfficeTrafficCategory OPTIMIZE

Static value Optimize for OfficeTrafficCategory.

OPTIMIZE_AND_ALLOW

public static final OfficeTrafficCategory OPTIMIZE_AND_ALLOW

Static value OptimizeAndAllow for OfficeTrafficCategory.

Constructor Details

OfficeTrafficCategory

@Deprecated
public OfficeTrafficCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OfficeTrafficCategory value.

Method Details

fromString

public static OfficeTrafficCategory fromString(String name)

Creates or finds a OfficeTrafficCategory from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding OfficeTrafficCategory.

values

public static Collection values()

Gets known OfficeTrafficCategory values.

Returns:

known OfficeTrafficCategory values.

Applies to