Enum Job.MessageSeverity

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Job.MessageSeverity>
    Enclosing class:
    Job

    public static enum Job.MessageSeverity
    extends java.lang.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
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ERROR
      An error message indicates a critical event that caused the job to fail.
      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.
      UNKNOWN
      A message of unknown severity.
      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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Job.MessageSeverity valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Job.MessageSeverity[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

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

      • 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

        public static final Job.MessageSeverity UNKNOWN
        A message of unknown severity.
        Since:
        100.10.0
    • Method Detail

      • values

        public static Job.MessageSeverity[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Job.MessageSeverity c : Job.MessageSeverity.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Job.MessageSeverity valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null