Enum Class SenderState

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

public enum SenderState extends Enum<SenderState>
Status eines Senders/einer Quelle
  • 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 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 SenderState 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
    • 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.