JobType Class

public final class JobType
extends ExpandableStringEnum<JobType>

Describes the type of the job. Valid modes are `Cloud` and 'Edge'.

Field Summary

Modifier and Type Field and Description
static final JobType CLOUD

Static value Cloud for JobType.

static final JobType EDGE

Static value Edge for JobType.

Constructor Summary

Constructor Description
JobType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of JobType value.

Method Summary

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

Creates or finds a JobType from its string representation.

static Collection<JobType> values()

Gets known JobType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CLOUD

public static final JobType CLOUD

Static value Cloud for JobType.

EDGE

public static final JobType EDGE

Static value Edge for JobType.

Constructor Details

JobType

@Deprecated
public JobType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of JobType value.

Method Details

fromString

public static JobType fromString(String name)

Creates or finds a JobType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding JobType.

values

public static Collection<JobType> values()

Gets known JobType values.

Returns:

known JobType values.

Applies to