CommandState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. datamigration. models. CommandState
- com.
- com.
public final class CommandState
extends ExpandableStringEnum<CommandState>
The state of the command. This is ignored if submitted.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Command |
ACCEPTED
Static value Accepted for Command |
|
static final
Command |
FAILED
Static value Failed for Command |
|
static final
Command |
RUNNING
Static value Running for Command |
|
static final
Command |
SUCCEEDED
Static value Succeeded for Command |
|
static final
Command |
UNKNOWN
Static value Unknown for Command |
Constructor Summary
| Constructor | Description |
|---|---|
| CommandState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Command |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Command |
fromString(String name)
Creates or finds a Command |
|
static
Collection<Command |
values()
Gets known Command |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ACCEPTED
public static final CommandState ACCEPTED
Static value Accepted for CommandState.
FAILED
public static final CommandState FAILED
Static value Failed for CommandState.
RUNNING
public static final CommandState RUNNING
Static value Running for CommandState.
SUCCEEDED
public static final CommandState SUCCEEDED
Static value Succeeded for CommandState.
UNKNOWN
public static final CommandState UNKNOWN
Static value Unknown for CommandState.
Constructor Details
CommandState
@Deprecated
public CommandState()
Deprecated
Creates a new instance of CommandState value.
Method Details
fromString
public static CommandState fromString(String name)
Creates or finds a CommandState from its string representation.
Parameters:
Returns:
values
public static Collection<CommandState> values()
Gets known CommandState values.
Returns: