RuleTypeEnum Class

public final class RuleTypeEnum
extends ExpandableStringEnum<RuleTypeEnum>

SummaryRules rule type: User.

Field Summary

Modifier and Type Field and Description
static final RuleTypeEnum USER

User defined summary rule.

Constructor Summary

Constructor Description
RuleTypeEnum()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RuleTypeEnum value.

Method Summary

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

Creates or finds a RuleTypeEnum from its string representation.

static Collection<RuleTypeEnum> values()

Gets known RuleTypeEnum values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

USER

public static final RuleTypeEnum USER

User defined summary rule. This is the definition for rules created and defined by users.

Constructor Details

RuleTypeEnum

@Deprecated
public RuleTypeEnum()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of RuleTypeEnum value.

Method Details

fromString

public static RuleTypeEnum fromString(String name)

Creates or finds a RuleTypeEnum from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RuleTypeEnum.

values

public static Collection<RuleTypeEnum> values()

Gets known RuleTypeEnum values.

Returns:

known RuleTypeEnum values.

Applies to