Freigeben über


TrafficDirection Class

public final class TrafficDirection
extends ExpandableStringEnum<TrafficDirection>

The direction of required traffic.

Field Summary

Modifier and Type Field and Description
static final TrafficDirection INBOUND

Static value Inbound for TrafficDirection.

static final TrafficDirection OUTBOUND

Static value Outbound for TrafficDirection.

Constructor Summary

Constructor Description
TrafficDirection()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TrafficDirection value.

Method Summary

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

Creates or finds a TrafficDirection from its string representation.

static Collection<TrafficDirection> values()

Gets known TrafficDirection values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

INBOUND

public static final TrafficDirection INBOUND

Static value Inbound for TrafficDirection.

OUTBOUND

public static final TrafficDirection OUTBOUND

Static value Outbound for TrafficDirection.

Constructor Details

TrafficDirection

@Deprecated
public TrafficDirection()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of TrafficDirection value.

Method Details

fromString

public static TrafficDirection fromString(String name)

Creates or finds a TrafficDirection from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding TrafficDirection.

values

public static Collection values()

Gets known TrafficDirection values.

Returns:

known TrafficDirection values.

Applies to