RuleType Class

public final class RuleType
extends ExpandableStringEnum<RuleType>

The rule type.

Field Summary

Modifier and Type Field and Description
static final RuleType BASELINE_EXPECTED

Static value BaselineExpected for RuleType.

static final RuleType BINARY

Static value Binary for RuleType.

static final RuleType NEGATIVE_LIST

Static value NegativeList for RuleType.

static final RuleType POSITIVE_LIST

Static value PositiveList for RuleType.

Constructor Summary

Constructor Description
RuleType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RuleType value.

Method Summary

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

Creates or finds a RuleType from its string representation.

static Collection<RuleType> values()

Gets known RuleType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BASELINE_EXPECTED

public static final RuleType BASELINE_EXPECTED

Static value BaselineExpected for RuleType.

BINARY

public static final RuleType BINARY

Static value Binary for RuleType.

NEGATIVE_LIST

public static final RuleType NEGATIVE_LIST

Static value NegativeList for RuleType.

POSITIVE_LIST

public static final RuleType POSITIVE_LIST

Static value PositiveList for RuleType.

Constructor Details

RuleType

@Deprecated
public RuleType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RuleType value.

Method Details

fromString

public static RuleType fromString(String name)

Creates or finds a RuleType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RuleType.

values

public static Collection values()

Gets known RuleType values.

Returns:

known RuleType values.

Applies to