Enum S7SubscriptionType
- java.lang.Object
-
- java.lang.Enum<S7SubscriptionType>
-
- org.apache.plc4x.java.s7.readwrite.types.S7SubscriptionType
-
- All Implemented Interfaces:
Serializable,Comparable<S7SubscriptionType>
public enum S7SubscriptionType extends Enum<S7SubscriptionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALARM_ACKALARM_QUERYCYCLIC_DB_SUBSCRIPTIONCYCLIC_SUBSCRIPTIONCYCLIC_UNSUBSCRIPTIONEVENT_SUBSCRIPTIONEVENT_UNSUBSCRIPTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static S7SubscriptionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static S7SubscriptionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EVENT_SUBSCRIPTION
public static final S7SubscriptionType EVENT_SUBSCRIPTION
-
EVENT_UNSUBSCRIPTION
public static final S7SubscriptionType EVENT_UNSUBSCRIPTION
-
ALARM_ACK
public static final S7SubscriptionType ALARM_ACK
-
ALARM_QUERY
public static final S7SubscriptionType ALARM_QUERY
-
CYCLIC_SUBSCRIPTION
public static final S7SubscriptionType CYCLIC_SUBSCRIPTION
-
CYCLIC_DB_SUBSCRIPTION
public static final S7SubscriptionType CYCLIC_DB_SUBSCRIPTION
-
CYCLIC_UNSUBSCRIPTION
public static final S7SubscriptionType CYCLIC_UNSUBSCRIPTION
-
-
Method Detail
-
values
public static S7SubscriptionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (S7SubscriptionType c : S7SubscriptionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static S7SubscriptionType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-