Enum JobState

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<JobState>, java.lang.constant.Constable

    public enum JobState
    extends java.lang.Enum<JobState>
    Definiert den Bearbeitungszustand eines JobInProgress
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Enum

        java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      Aborted
      Auftrag wurde abgebrochen.
      Failed
      Auftrag wurde wegen eines Fehlers beendet.
      Finished
      Auftrag ist fertiggestellt.
      FinishedAndSaved
      Auftrag ist fertiggestellt und ein Protokoll wurde gelesen gespeichert (nur bei Protokoll-Erstellen-Aufträgen).
      FinishedAndUnread
      Auftrag ist fertiggestellt und ein Protokoll wurde ungelesen gespeichert (nur bei Protokoll-Erstellen-Aufträgen) Dieser Status erlaubt clientseitig einfach festzustellen, wenn ein neues Protokoll fertiggestellt wurde, dass dann über PuaClient.getUnreadProtocol(long) abgerufen werden kann.
      InProgress
      Auftrag ist in Bearbeitung.
      InQueue
      Auftrag ist in Warteschlange.
    • Method Summary

      Modifier and Type Method Description
      static JobState valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static JobState[] 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, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

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

      • InQueue

        public static final JobState InQueue
        Auftrag ist in Warteschlange.
      • InProgress

        public static final JobState InProgress
        Auftrag ist in Bearbeitung.
      • Finished

        public static final JobState Finished
        Auftrag ist fertiggestellt. Wenn es sich um einen Protokoll-Erstellen-Auftrag handelt wurde das Protokoll entweder nicht gespeichert, oder die PuA-Server-Implementierung ist veraltet und übermittelt die Information, ob gespeichert wurde, nicht.
      • FinishedAndSaved

        public static final JobState FinishedAndSaved
        Auftrag ist fertiggestellt und ein Protokoll wurde gelesen gespeichert (nur bei Protokoll-Erstellen-Aufträgen). Dieser Status erlaubt clientseitig einfach festzustellen, wenn ein neues Protokoll fertiggestellt wurde, dass dann über PuaClient.getSavedProtocol(long) abgerufen werden kann.
      • FinishedAndUnread

        public static final JobState FinishedAndUnread
        Auftrag ist fertiggestellt und ein Protokoll wurde ungelesen gespeichert (nur bei Protokoll-Erstellen-Aufträgen) Dieser Status erlaubt clientseitig einfach festzustellen, wenn ein neues Protokoll fertiggestellt wurde, dass dann über PuaClient.getUnreadProtocol(long) abgerufen werden kann.
      • Aborted

        public static final JobState Aborted
        Auftrag wurde abgebrochen.
      • Failed

        public static final JobState Failed
        Auftrag wurde wegen eines Fehlers beendet.
    • Method Detail

      • values

        public static JobState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared.
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JobState 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