Enum Class Job.MessageSeverity

java.lang.Object
java.lang.Enum<Job.MessageSeverity>
com.esri.arcgisruntime.concurrent.Job.MessageSeverity
All Implemented Interfaces:
Serializable, Comparable<Job.MessageSeverity>, Constable
Enclosing class:
Job

public static enum Job.MessageSeverity extends Enum<Job.MessageSeverity>
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 Constants
    Enum Constant
    Description
    An 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 Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • INFO

      public static final Job.MessageSeverity 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

      public static final Job.MessageSeverity 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

      public static final Job.MessageSeverity ERROR
      An error message indicates a critical event that caused the job to fail. The error instance is also available from the job's Job.getError() property.
      Since:
      100.10.0
    • UNKNOWN

      @Deprecated(since="200.1.0", forRemoval=true) public static final Job.MessageSeverity 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

      public static Job.MessageSeverity[] 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

      public static Job.MessageSeverity valueOf(String name)
      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 name
      NullPointerException - if the argument is null