NextStep Class

public final class NextStep
extends ExpandableStringEnum<NextStep>

Supported next step behaviors after a rule is applied to a matched route.

Field Summary

Modifier and Type Field and Description
static final NextStep CONTINUE

Continue.

static final NextStep TERMINATE

Terminate.

static final NextStep UNKNOWN

Unknown.

Constructor Summary

Constructor Description
NextStep()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NextStep value.

Method Summary

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

Creates or finds a NextStep from its string representation.

static Collection<NextStep> values()

Gets known NextStep values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONTINUE

public static final NextStep CONTINUE

Continue.

TERMINATE

public static final NextStep TERMINATE

Terminate.

UNKNOWN

public static final NextStep UNKNOWN

Unknown.

Constructor Details

NextStep

@Deprecated
public NextStep()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NextStep value.

Method Details

fromString

public static NextStep fromString(String name)

Creates or finds a NextStep from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding NextStep.

values

public static Collection<NextStep> values()

Gets known NextStep values.

Returns:

known NextStep values.

Applies to