Partilhar via


ImageState Class

public final class ImageState
extends ExpandableStringEnum<ImageState>

Describes the state of the image.

Field Summary

Modifier and Type Field and Description
static final ImageState ACTIVE

Static value Active for ImageState.

static final ImageState DEPRECATED

Static value Deprecated for ImageState.

static final ImageState SCHEDULED_FOR_DEPRECATION

Static value ScheduledForDeprecation for ImageState.

Constructor Summary

Constructor Description
ImageState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ImageState value.

Method Summary

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

Creates or finds a ImageState from its string representation.

static Collection<ImageState> values()

Gets known ImageState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ACTIVE

public static final ImageState ACTIVE

Static value Active for ImageState.

DEPRECATED

public static final ImageState DEPRECATED

Static value Deprecated for ImageState.

SCHEDULED_FOR_DEPRECATION

public static final ImageState SCHEDULED_FOR_DEPRECATION

Static value ScheduledForDeprecation for ImageState.

Constructor Details

ImageState

@Deprecated
public ImageState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ImageState value.

Method Details

fromString

public static ImageState fromString(String name)

Creates or finds a ImageState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ImageState.

values

public static Collection values()

Gets known ImageState values.

Returns:

known ImageState values.

Applies to