Module com.esri.arcgisruntime
Enum Class Job.MessageSeverity
- All Implemented Interfaces:
Serializable
,Comparable<Job.MessageSeverity>
,Constable
- Enclosing class:
Job
The different levels of severity of a job message.
Each of the values represents a different level of job message severity.
- Since:
- 100.10.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAn error message indicates a critical event that caused the job to fail.An informative message is generated during the job's execution, such as a job uploading data, job progressing on a server or job results.Deprecated, for removal: This API element is subject to removal in a future version.as of 200.1.0.A warning message is generated when a job experiences a situation that may cause a problem during its execution or when the result may not be what you expect. -
Method Summary
Modifier and TypeMethodDescriptionstatic Job.MessageSeverity
Returns the enum constant of this class with the specified name.static Job.MessageSeverity[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INFO
An informative message is generated during the job's execution, such as a job uploading data, job progressing on a server or job results. This message type never indicates a problem.- Since:
- 100.10.0
-
WARNING
A warning message is generated when a job experiences a situation that may cause a problem during its execution or when the result may not be what you expect. For example, when the job has failed to take a layer offline from an online map. Generally the job will run to successful completion even if there are one or more warnings.- Since:
- 100.10.0
-
ERROR
An error message indicates a critical event that caused the job to fail. The error instance is also available from the job'sJob.getError()
property.- Since:
- 100.10.0
-
UNKNOWN
Deprecated, for removal: This API element is subject to removal in a future version.as of 200.1.0. This value is not applicable to the job message's severity and will be removed in a future release.A message of unknown severity.- Since:
- 100.10.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-