Condividi tramite


Location Class

public final class Location
extends ExpandableStringEnum<Location>

Location of the resource.

Field Summary

Modifier and Type Field and Description
static final Location GLOBAL

Static value global for Location.

Constructor Summary

Constructor Description
Location()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Location value.

Method Summary

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

Creates or finds a Location from its string representation.

static Collection<Location> values()

Gets known Location values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

GLOBAL

public static final Location GLOBAL

Static value global for Location.

Constructor Details

Location

@Deprecated
public Location()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Location value.

Method Details

fromString

public static Location fromString(String name)

Creates or finds a Location from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Location.

values

public static Collection<Location> values()

Gets known Location values.

Returns:

known Location values.

Applies to