Package de.bsvrz.dav.dav.subscriptions
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 deaktiviertNO_RECEIVERS
Keine Empfänger verfügbarNO_REMOTE_SOURCE
ungültiger Status einer entfernten Anmeldung, z.B. keine Rechte am entfernten Dav oder nicht verantwortlichNOT_ALLOWED
Keine Rechte zum SendenRECEIVERS_AVAILABLE
Empfänger sind Verfügbar, bereit zum SendenUNKNOWN
Unbekannt, Sender wurde gerade erst angemeldetWAITING
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 iststatic 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
Unbekannt, Sender wurde gerade erst angemeldet -
RECEIVERS_AVAILABLE
Empfänger sind Verfügbar, bereit zum Senden -
NO_RECEIVERS
Keine Empfänger verfügbar -
WAITING
Es ist unbekannt, ob Empfänger verfügbar sind -
NOT_ALLOWED
Keine Rechte zum Senden -
INVALID_SUBSCRIPTION
ungültige Anmeldung (z.B. mehrere Quellen oder Senken) -
NO_REMOTE_SOURCE
ungültiger Status einer entfernten Anmeldung, z.B. keine Rechte am entfernten Dav oder nicht verantwortlich -
MULTIPLE_REMOTE_LOCK
es gibt mehrere mögliche Zentraldatenverteiler, Anmeldung daher deaktiviert
-
-
Method Details
-
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
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 namejava.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.
-