Package org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206
Enum NetconfConfirmedCommit.ConfirmEvent
- java.lang.Object
-
- java.lang.Enum<NetconfConfirmedCommit.ConfirmEvent>
-
- org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.notifications.rev120206.NetconfConfirmedCommit.ConfirmEvent
-
- All Implemented Interfaces:
Serializable,Comparable<NetconfConfirmedCommit.ConfirmEvent>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.Enumeration,org.opendaylight.yangtools.yang.binding.TypeObject
- Enclosing interface:
- NetconfConfirmedCommit
@Generated("mdsal-binding-generator") public static enum NetconfConfirmedCommit.ConfirmEvent extends Enum<NetconfConfirmedCommit.ConfirmEvent> implements org.opendaylight.yangtools.yang.binding.Enumeration
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CancelThe confirmed-commit procedure has been canceled, e.g., due to the session being terminated, or an explicit <cancel-commit> operation.CompleteThe confirmed-commit procedure has been completed.ExtendThe confirmed-commit timeout has been extended, e.g., by a new <confirmed-commit> operation.StartThe confirmed-commit procedure has started.TimeoutThe confirmed-commit procedure has been canceled due to the confirm-timeout interval expiring.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Optional<NetconfConfirmedCommit.ConfirmEvent>forName(String name)Return the enumeration member whosegetName()matches specified value.static NetconfConfirmedCommit.ConfirmEventforValue(int intValue)Return the enumeration member whosegetIntValue()matches specified value.intgetIntValue()StringgetName()static NetconfConfirmedCommit.ConfirmEventvalueOf(String name)Returns the enum constant of this type with the specified name.static NetconfConfirmedCommit.ConfirmEvent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Start
public static final NetconfConfirmedCommit.ConfirmEvent Start
The confirmed-commit procedure has started.
-
Cancel
public static final NetconfConfirmedCommit.ConfirmEvent Cancel
The confirmed-commit procedure has been canceled, e.g., due to the session being terminated, or an explicit <cancel-commit> operation.
-
Timeout
public static final NetconfConfirmedCommit.ConfirmEvent Timeout
The confirmed-commit procedure has been canceled due to the confirm-timeout interval expiring. The common session parameters will not be present in this sub-mode.
-
Extend
public static final NetconfConfirmedCommit.ConfirmEvent Extend
The confirmed-commit timeout has been extended, e.g., by a new <confirmed-commit> operation.
-
Complete
public static final NetconfConfirmedCommit.ConfirmEvent Complete
The confirmed-commit procedure has been completed.
-
-
Method Detail
-
values
public static NetconfConfirmedCommit.ConfirmEvent[] 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 (NetconfConfirmedCommit.ConfirmEvent c : NetconfConfirmedCommit.ConfirmEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NetconfConfirmedCommit.ConfirmEvent 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
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.opendaylight.yangtools.yang.binding.Enumeration
-
getIntValue
public int getIntValue()
- Specified by:
getIntValuein interfaceorg.opendaylight.yangtools.yang.binding.Enumeration
-
forName
public static Optional<NetconfConfirmedCommit.ConfirmEvent> forName(String name)
Return the enumeration member whosegetName()matches specified value.- Parameters:
name- YANG assigned name- Returns:
- corresponding ConfirmEvent item, if present
- Throws:
NullPointerException- if name is null
-
forValue
public static NetconfConfirmedCommit.ConfirmEvent forValue(int intValue)
Return the enumeration member whosegetIntValue()matches specified value.- Parameters:
intValue- integer value- Returns:
- corresponding ConfirmEvent item, or null if no such item exists
-
-