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

SqlDatabase.

static final JobTargetType SQL_ELASTIC_POOL

SqlElasticPool.

static final JobTargetType SQL_SERVER

SqlServer.

static final JobTargetType SQL_SHARD_MAP

SqlShardMap.

static final JobTargetType TARGET_GROUP

TargetGroup.

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

SqlDatabase.

SQL_ELASTIC_POOL

public static final JobTargetType SQL_ELASTIC_POOL

SqlElasticPool.

SQL_SERVER

public static final JobTargetType SQL_SERVER

SqlServer.

SQL_SHARD_MAP

public static final JobTargetType SQL_SHARD_MAP

SqlShardMap.

TARGET_GROUP

public static final JobTargetType TARGET_GROUP

TargetGroup.

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<JobTargetType> values()

Gets known JobTargetType values.

Returns:

known JobTargetType values.

Applies to