MaintenanceTestCategory Class

public final class MaintenanceTestCategory
extends ExpandableStringEnum<MaintenanceTestCategory>

The type of maintenance that can occur during an ExpressRoute failover test.

Field Summary

Modifier and Type Field and Description
static final MaintenanceTestCategory ASPATH_PREPEND

AS path prepend test category.

static final MaintenanceTestCategory BGP_DISCONNECT

BGP disconnect test category.

Constructor Summary

Constructor Description
MaintenanceTestCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MaintenanceTestCategory value.

Method Summary

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

Creates or finds a MaintenanceTestCategory from its string representation.

static Collection<MaintenanceTestCategory> values()

Gets known MaintenanceTestCategory values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ASPATH_PREPEND

public static final MaintenanceTestCategory ASPATH_PREPEND

AS path prepend test category.

BGP_DISCONNECT

public static final MaintenanceTestCategory BGP_DISCONNECT

BGP disconnect test category.

Constructor Details

MaintenanceTestCategory

@Deprecated
public MaintenanceTestCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MaintenanceTestCategory value.

Method Details

fromString

public static MaintenanceTestCategory fromString(String name)

Creates or finds a MaintenanceTestCategory from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding MaintenanceTestCategory.

values

public static Collection<MaintenanceTestCategory> values()

Gets known MaintenanceTestCategory values.

Returns:

known MaintenanceTestCategory values.

Applies to