Enum SenderState

java.lang.Object
java.lang.Enum<SenderState>
de.bsvrz.dav.dav.subscriptions.SenderState
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SenderState>, java.lang.constant.Constable

public enum SenderState
extends java.lang.Enum<SenderState>
Status eines Senders/einer Quelle
  • 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
    INVALID_SUBSCRIPTION
    ungültige Anmeldung (z.B. mehrere Quellen oder Senken)
    MULTIPLE_REMOTE_LOCK
    es gibt mehrere mögliche Zentraldatenverteiler, Anmeldung daher deaktiviert
    NO_RECEIVERS
    Keine Empfänger verfügbar
    NO_REMOTE_SOURCE
    ungültiger Status einer entfernten Anmeldung, z.B. keine Rechte am entfernten Dav oder nicht verantwortlich
    NOT_ALLOWED
    Keine Rechte zum Senden
    RECEIVERS_AVAILABLE
    Empfänger sind Verfügbar, bereit zum Senden
    UNKNOWN
    Unbekannt, Sender wurde gerade erst angemeldet
    WAITING
    Es ist unbekannt, ob Empfänger verfügbar sind
  • Method Summary

    Modifier and Type Method Description
    boolean isValidSender()
    Gibt zurück, ob der Sender gültig ist
    static SenderState valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static SenderState[] 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 Details

    • UNKNOWN

      public static final SenderState UNKNOWN
      Unbekannt, Sender wurde gerade erst angemeldet
    • RECEIVERS_AVAILABLE

      public static final SenderState RECEIVERS_AVAILABLE
      Empfänger sind Verfügbar, bereit zum Senden
    • NO_RECEIVERS

      public static final SenderState NO_RECEIVERS
      Keine Empfänger verfügbar
    • WAITING

      public static final SenderState WAITING
      Es ist unbekannt, ob Empfänger verfügbar sind
    • NOT_ALLOWED

      public static final SenderState NOT_ALLOWED
      Keine Rechte zum Senden
    • INVALID_SUBSCRIPTION

      public static final SenderState INVALID_SUBSCRIPTION
      ungültige Anmeldung (z.B. mehrere Quellen oder Senken)
    • NO_REMOTE_SOURCE

      public static final SenderState NO_REMOTE_SOURCE
      ungültiger Status einer entfernten Anmeldung, z.B. keine Rechte am entfernten Dav oder nicht verantwortlich
    • MULTIPLE_REMOTE_LOCK

      public static final SenderState MULTIPLE_REMOTE_LOCK
      es gibt mehrere mögliche Zentraldatenverteiler, Anmeldung daher deaktiviert
  • Method Details

    • values

      public static SenderState[] 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 SenderState 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
    • isValidSender

      public boolean isValidSender()
      Gibt zurück, ob der Sender gültig ist
      Returns:
      true wenn die Anmeldung gültig ist damit z.B. Empfängern mitgeteilt werden kann, dass es Sender gibt.