Share via


CommandType Class

public final class CommandType
extends ExpandableStringEnum<CommandType>

Command type.

Field Summary

Modifier and Type Field and Description
static final CommandType CANCEL

Static value cancel for CommandType.

static final CommandType FINISH

Static value finish for CommandType.

static final CommandType MIGRATE_SQL_SERVER_AZURE_DB_SQL_MI_COMPLETE

Static value Migrate.SqlServer.AzureDbSqlMi.Complete for CommandType.

static final CommandType MIGRATE_SYNC_COMPLETE_DATABASE

Static value Migrate.Sync.Complete.Database for CommandType.

static final CommandType RESTART

Static value restart for CommandType.

Constructor Summary

Constructor Description
CommandType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CommandType value.

Method Summary

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

Creates or finds a CommandType from its string representation.

static Collection<CommandType> values()

Gets known CommandType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CANCEL

public static final CommandType CANCEL

Static value cancel for CommandType.

FINISH

public static final CommandType FINISH

Static value finish for CommandType.

MIGRATE_SQL_SERVER_AZURE_DB_SQL_MI_COMPLETE

public static final CommandType MIGRATE_SQL_SERVER_AZURE_DB_SQL_MI_COMPLETE

Static value Migrate.SqlServer.AzureDbSqlMi.Complete for CommandType.

MIGRATE_SYNC_COMPLETE_DATABASE

public static final CommandType MIGRATE_SYNC_COMPLETE_DATABASE

Static value Migrate.Sync.Complete.Database for CommandType.

RESTART

public static final CommandType RESTART

Static value restart for CommandType.

Constructor Details

CommandType

@Deprecated
public CommandType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of CommandType value.

Method Details

fromString

public static CommandType fromString(String name)

Creates or finds a CommandType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding CommandType.

values

public static Collection<CommandType> values()

Gets known CommandType values.

Returns:

known CommandType values.

Applies to