GovernanceRuleType Class

public final class GovernanceRuleType
extends ExpandableStringEnum<GovernanceRuleType>

The rule type of the governance rule, defines the source of the rule e.g. Integrated.

Field Summary

Modifier and Type Field and Description
static final GovernanceRuleType INTEGRATED

The source of the rule type definition is integrated.

static final GovernanceRuleType SERVICE_NOW

The source of the rule type definition is ServiceNow.

Constructor Summary

Constructor Description
GovernanceRuleType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GovernanceRuleType value.

Method Summary

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

Creates or finds a GovernanceRuleType from its string representation.

static Collection<GovernanceRuleType> values()

Gets known GovernanceRuleType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

INTEGRATED

public static final GovernanceRuleType INTEGRATED

The source of the rule type definition is integrated.

SERVICE_NOW

public static final GovernanceRuleType SERVICE_NOW

The source of the rule type definition is ServiceNow.

Constructor Details

GovernanceRuleType

@Deprecated
public GovernanceRuleType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of GovernanceRuleType value.

Method Details

fromString

public static GovernanceRuleType fromString(String name)

Creates or finds a GovernanceRuleType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding GovernanceRuleType.

values

public static Collection<GovernanceRuleType> values()

Gets known GovernanceRuleType values.

Returns:

known GovernanceRuleType values.

Applies to