ReleaseCategory Class

public final class ReleaseCategory
extends ExpandableStringEnum<ReleaseCategory>

Enumerates the type of change introduced in the extension version.

Field Summary

Modifier and Type Field and Description
static final ReleaseCategory BUG_FIX

Bug fix change.

static final ReleaseCategory COMPATIBILITY_UPDATE

Compatibility update change.

static final ReleaseCategory NEW_FEATURE

New feature change.

static final ReleaseCategory OTHER

Other type of change.

static final ReleaseCategory SECURITY_FIX

Security fix change.

Constructor Summary

Constructor Description
ReleaseCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReleaseCategory value.

Method Summary

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

Creates or finds a ReleaseCategory from its string representation.

static Collection<ReleaseCategory> values()

Gets known ReleaseCategory values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

BUG_FIX

public static final ReleaseCategory BUG_FIX

Bug fix change.

COMPATIBILITY_UPDATE

public static final ReleaseCategory COMPATIBILITY_UPDATE

Compatibility update change.

NEW_FEATURE

public static final ReleaseCategory NEW_FEATURE

New feature change.

OTHER

public static final ReleaseCategory OTHER

Other type of change.

SECURITY_FIX

public static final ReleaseCategory SECURITY_FIX

Security fix change.

Constructor Details

ReleaseCategory

@Deprecated
public ReleaseCategory()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ReleaseCategory value.

Method Details

fromString

public static ReleaseCategory fromString(String name)

Creates or finds a ReleaseCategory from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ReleaseCategory.

values

public static Collection<ReleaseCategory> values()

Gets known ReleaseCategory values.

Returns:

known ReleaseCategory values.

Applies to