Share via


MoveType Class

public final class MoveType
extends ExpandableStringEnum<MoveType>

Defines the MoveType.

Field Summary

Modifier and Type Field and Description
static final MoveType REGION_TO_REGION

Static value RegionToRegion for MoveType.

static final MoveType REGION_TO_ZONE

Static value RegionToZone for MoveType.

Constructor Summary

Constructor Description
MoveType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MoveType value.

Method Summary

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

Creates or finds a MoveType from its string representation.

static Collection<MoveType> values()

Gets known MoveType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

REGION_TO_REGION

public static final MoveType REGION_TO_REGION

Static value RegionToRegion for MoveType.

REGION_TO_ZONE

public static final MoveType REGION_TO_ZONE

Static value RegionToZone for MoveType.

Constructor Details

MoveType

@Deprecated
public MoveType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of MoveType value.

Method Details

fromString

public static MoveType fromString(String name)

Creates or finds a MoveType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding MoveType.

values

public static Collection<MoveType> values()

Gets known MoveType values.

Returns:

known MoveType values.

Applies to