RuleCategory Class

public final class RuleCategory
extends ExpandableStringEnum<RuleCategory>

Defines values for RuleCategory.

Field Summary

Modifier and Type Field and Description
static final RuleCategory ARTIFACTS

Static value Artifacts for RuleCategory.

static final RuleCategory CODE

Static value Code for RuleCategory.

static final RuleCategory CONTAINERS

Static value Containers for RuleCategory.

static final RuleCategory DEPENDENCIES

Static value Dependencies for RuleCategory.

static final RuleCategory IAC

Static value IaC for RuleCategory.

static final RuleCategory SECRETS

Static value Secrets for RuleCategory.

Constructor Summary

Constructor Description
RuleCategory()

Method Summary

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

Creates or finds a RuleCategory from its string representation.

static Collection<RuleCategory> values()

Gets known RuleCategory values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ARTIFACTS

public static final RuleCategory ARTIFACTS

Static value Artifacts for RuleCategory.

CODE

public static final RuleCategory CODE

Static value Code for RuleCategory.

CONTAINERS

public static final RuleCategory CONTAINERS

Static value Containers for RuleCategory.

DEPENDENCIES

public static final RuleCategory DEPENDENCIES

Static value Dependencies for RuleCategory.

IAC

public static final RuleCategory IAC

Static value IaC for RuleCategory.

SECRETS

public static final RuleCategory SECRETS

Static value Secrets for RuleCategory.

Constructor Details

RuleCategory

public RuleCategory()

Method Details

fromString

public static RuleCategory fromString(String name)

Creates or finds a RuleCategory from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding RuleCategory.

values

public static Collection<RuleCategory> values()

Gets known RuleCategory values.

Returns:

known RuleCategory values.

Applies to