public enum ProtocolType extends java.lang.Enum<ProtocolType>
Definiert die Art eines Protokolls, Z.B. Zustandsprotokoll, Änderungsprotokoll, Ereignisprotokoll
Enum Constant and Description |
---|
DeltaProtocol
Gibt an, dass das zu erstellende Protokoll ein Änderungsprotokoll ist.
|
EventProtocol
Gibt an, dass das zu erstellende Protokoll ein Ereignisprotokoll ist.
|
StatusProtocol
Gibt an, dass das zu erstellende Protokoll ein Zustandsprotokoll ist.
|
Undefined
Gibt an, dass der Default-Wert des Skriptes beibehalten werden soll, Wenn das Skript keine explizite Vorgabe macht, wird ein
Zustandsprotokoll erstellt.
|
Modifier and Type | Method and Description |
---|---|
static ProtocolType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolType StatusProtocol
public static final ProtocolType DeltaProtocol
public static final ProtocolType EventProtocol
Das Ereignisprotokoll wird erst ab Version 2.8.0 unterstützt, ältere PuA-Server behandeln dies wie ein Zustandsprotokoll.
public static final ProtocolType Undefined
public static ProtocolType[] values()
for (ProtocolType c : ProtocolType.values()) System.out.println(c);
public static ProtocolType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null