State Class

public final class State
extends ExpandableStringEnum<State>

Status of the issue.

Field Summary

Modifier and Type Field and Description
static final State CLOSED

Static value closed for State.

static final State OPEN

Static value open for State.

static final State PROPOSED

Static value proposed for State.

static final State REMOVED

Static value removed for State.

static final State RESOLVED

Static value resolved for State.

Constructor Summary

Constructor Description
State()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of State value.

Method Summary

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

Creates or finds a State from its string representation.

static Collection<State> values()

Gets known State values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CLOSED

public static final State CLOSED

Static value closed for State.

OPEN

public static final State OPEN

Static value open for State.

PROPOSED

public static final State PROPOSED

Static value proposed for State.

REMOVED

public static final State REMOVED

Static value removed for State.

RESOLVED

public static final State RESOLVED

Static value resolved for State.

Constructor Details

State

@Deprecated
public State()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of State value.

Method Details

fromString

public static State fromString(String name)

Creates or finds a State from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding State.

values

public static Collection values()

Gets known State values.

Returns:

known State values.

Applies to