OperationName Class

public final class OperationName
extends ExpandableStringEnum<OperationName>

Name of the last operation.

Field Summary

Modifier and Type Field and Description
static final OperationName CREATE

Static value Create for OperationName.

static final OperationName DELETE

Static value Delete for OperationName.

static final OperationName REIMAGE

Static value Reimage for OperationName.

static final OperationName RESTART

Static value Restart for OperationName.

static final OperationName START

Static value Start for OperationName.

static final OperationName STOP

Static value Stop for OperationName.

Constructor Summary

Constructor Description
OperationName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OperationName value.

Method Summary

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

Creates or finds a OperationName from its string representation.

static Collection<OperationName> values()

Gets known OperationName values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CREATE

public static final OperationName CREATE

Static value Create for OperationName.

DELETE

public static final OperationName DELETE

Static value Delete for OperationName.

REIMAGE

public static final OperationName REIMAGE

Static value Reimage for OperationName.

RESTART

public static final OperationName RESTART

Static value Restart for OperationName.

START

public static final OperationName START

Static value Start for OperationName.

STOP

public static final OperationName STOP

Static value Stop for OperationName.

Constructor Details

OperationName

@Deprecated
public OperationName()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of OperationName value.

Method Details

fromString

public static OperationName fromString(String name)

Creates or finds a OperationName from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding OperationName.

values

public static Collection<OperationName> values()

Gets known OperationName values.

Returns:

known OperationName values.

Applies to