ChangeType Class

public final class ChangeType
extends ExpandableStringEnum<ChangeType>

The type of the change.

Field Summary

Modifier and Type Field and Description
static final ChangeType ADD

Static value Add for ChangeType.

static final ChangeType REMOVE

Static value Remove for ChangeType.

static final ChangeType UPDATE

Static value Update for ChangeType.

Constructor Summary

Constructor Description
ChangeType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ChangeType value.

Method Summary

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

Creates or finds a ChangeType from its string representation.

static Collection<ChangeType> values()

Gets known ChangeType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ADD

public static final ChangeType ADD

Static value Add for ChangeType.

REMOVE

public static final ChangeType REMOVE

Static value Remove for ChangeType.

UPDATE

public static final ChangeType UPDATE

Static value Update for ChangeType.

Constructor Details

ChangeType

@Deprecated
public ChangeType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ChangeType value.

Method Details

fromString

public static ChangeType fromString(String name)

Creates or finds a ChangeType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ChangeType.

values

public static Collection<ChangeType> values()

Gets known ChangeType values.

Returns:

known ChangeType values.

Applies to