Partager via


JobErrorCode Class

public final class JobErrorCode
extends ExpandableStringEnum<JobErrorCode>

Error code describing the error.

Field Summary

Modifier and Type Field and Description
static final JobErrorCode CONFIGURATION_UNSUPPORTED

Static value ConfigurationUnsupported for JobErrorCode.

static final JobErrorCode CONTENT_MALFORMED

Static value ContentMalformed for JobErrorCode.

static final JobErrorCode CONTENT_UNSUPPORTED

Static value ContentUnsupported for JobErrorCode.

static final JobErrorCode DOWNLOAD_NOT_ACCESSIBLE

Static value DownloadNotAccessible for JobErrorCode.

static final JobErrorCode DOWNLOAD_TRANSIENT_ERROR

Static value DownloadTransientError for JobErrorCode.

static final JobErrorCode IDENTITY_UNSUPPORTED

Static value IdentityUnsupported for JobErrorCode.

static final JobErrorCode SERVICE_ERROR

Static value ServiceError for JobErrorCode.

static final JobErrorCode SERVICE_TRANSIENT_ERROR

Static value ServiceTransientError for JobErrorCode.

static final JobErrorCode UPLOAD_NOT_ACCESSIBLE

Static value UploadNotAccessible for JobErrorCode.

static final JobErrorCode UPLOAD_TRANSIENT_ERROR

Static value UploadTransientError for JobErrorCode.

Constructor Summary

Constructor Description
JobErrorCode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of JobErrorCode value.

Method Summary

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

Creates or finds a JobErrorCode from its string representation.

static Collection<JobErrorCode> values()

Gets known JobErrorCode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

CONFIGURATION_UNSUPPORTED

public static final JobErrorCode CONFIGURATION_UNSUPPORTED

Static value ConfigurationUnsupported for JobErrorCode.

CONTENT_MALFORMED

public static final JobErrorCode CONTENT_MALFORMED

Static value ContentMalformed for JobErrorCode.

CONTENT_UNSUPPORTED

public static final JobErrorCode CONTENT_UNSUPPORTED

Static value ContentUnsupported for JobErrorCode.

DOWNLOAD_NOT_ACCESSIBLE

public static final JobErrorCode DOWNLOAD_NOT_ACCESSIBLE

Static value DownloadNotAccessible for JobErrorCode.

DOWNLOAD_TRANSIENT_ERROR

public static final JobErrorCode DOWNLOAD_TRANSIENT_ERROR

Static value DownloadTransientError for JobErrorCode.

IDENTITY_UNSUPPORTED

public static final JobErrorCode IDENTITY_UNSUPPORTED

Static value IdentityUnsupported for JobErrorCode.

SERVICE_ERROR

public static final JobErrorCode SERVICE_ERROR

Static value ServiceError for JobErrorCode.

SERVICE_TRANSIENT_ERROR

public static final JobErrorCode SERVICE_TRANSIENT_ERROR

Static value ServiceTransientError for JobErrorCode.

UPLOAD_NOT_ACCESSIBLE

public static final JobErrorCode UPLOAD_NOT_ACCESSIBLE

Static value UploadNotAccessible for JobErrorCode.

UPLOAD_TRANSIENT_ERROR

public static final JobErrorCode UPLOAD_TRANSIENT_ERROR

Static value UploadTransientError for JobErrorCode.

Constructor Details

JobErrorCode

@Deprecated
public JobErrorCode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of JobErrorCode value.

Method Details

fromString

public static JobErrorCode fromString(String name)

Creates or finds a JobErrorCode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding JobErrorCode.

values

public static Collection<JobErrorCode> values()

Gets known JobErrorCode values.

Returns:

known JobErrorCode values.

Applies to