SubPlan Class

public final class SubPlan
extends ExpandableStringEnum<SubPlan>

The available sub plans.

Field Summary

Modifier and Type Field and Description
static final SubPlan P1

P1.

static final SubPlan P2

P2.

Constructor Summary

Constructor Description
SubPlan()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SubPlan value.

Method Summary

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

Creates or finds a SubPlan from its string representation.

static Collection<SubPlan> values()

Gets known SubPlan values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

P1

public static final SubPlan P1

P1.

P2

public static final SubPlan P2

P2.

Constructor Details

SubPlan

@Deprecated
public SubPlan()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SubPlan value.

Method Details

fromString

public static SubPlan fromString(String name)

Creates or finds a SubPlan from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SubPlan.

values

public static Collection<SubPlan> values()

Gets known SubPlan values.

Returns:

known SubPlan values.

Applies to