Partager via


JobTargetType Class

public final class JobTargetType
extends ExpandableStringEnum<JobTargetType>

The type of the target.

Field Summary

Modifier and Type Field and Description
static final JobTargetType SQL_DATABASE

Static value SqlDatabase for JobTargetType.

static final JobTargetType SQL_ELASTIC_POOL

Static value SqlElasticPool for JobTargetType.

static final JobTargetType SQL_SERVER

Static value SqlServer for JobTargetType.

static final JobTargetType SQL_SHARD_MAP

Static value SqlShardMap for JobTargetType.

static final JobTargetType TARGET_GROUP

Static value TargetGroup for JobTargetType.

Constructor Summary

Constructor Description
JobTargetType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of JobTargetType value.

Method Summary

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

Creates or finds a JobTargetType from its string representation.

static Collection<JobTargetType> values()

Gets known JobTargetType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

SQL_DATABASE

public static final JobTargetType SQL_DATABASE

Static value SqlDatabase for JobTargetType.

SQL_ELASTIC_POOL

public static final JobTargetType SQL_ELASTIC_POOL

Static value SqlElasticPool for JobTargetType.

SQL_SERVER

public static final JobTargetType SQL_SERVER

Static value SqlServer for JobTargetType.

SQL_SHARD_MAP

public static final JobTargetType SQL_SHARD_MAP

Static value SqlShardMap for JobTargetType.

TARGET_GROUP

public static final JobTargetType TARGET_GROUP

Static value TargetGroup for JobTargetType.

Constructor Details

JobTargetType

@Deprecated
public JobTargetType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of JobTargetType value.

Method Details

fromString

public static JobTargetType fromString(String name)

Creates or finds a JobTargetType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding JobTargetType.

values

public static Collection values()

Gets known JobTargetType values.

Returns:

known JobTargetType values.

Applies to