Class ProtectedTransportEndpointState
- java.lang.Object
- 
- org.onosproject.net.behaviour.protection.ProtectedTransportEndpointState
 
- 
 @Beta @Immutable public class ProtectedTransportEndpointState extends java.lang.ObjectState of protected path endpoint.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classProtectedTransportEndpointState.Builder
 - 
Field SummaryFields Modifier and Type Field Description static intACTIVE_UNKNOWNActive path is currently unknown.
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedProtectedTransportEndpointState(ProtectedTransportEndpointDescription description, java.util.List<TransportEndpointState> pathStates, int activePathIndex)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtectedTransportEndpointState.Builderbuilder()ReturnsProtectedTransportEndpointStatebuilder.ProtectedTransportEndpointDescriptiondescription()Returns the description of this ProtectedPathEndPoint.java.util.List<TransportEndpointState>pathStates()Returns theTransportEndpointStates forming the ProtectedPathEndPoint.java.lang.StringtoString()intworkingPathIndex()Returns the index of the working Path inpathStates()List orACTIVE_UNKNOWN.
 
- 
- 
- 
Field Detail- 
ACTIVE_UNKNOWNpublic static final int ACTIVE_UNKNOWN Active path is currently unknown.- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
ProtectedTransportEndpointStateprotected ProtectedTransportEndpointState(ProtectedTransportEndpointDescription description, java.util.List<TransportEndpointState> pathStates, int activePathIndex) 
 
- 
 - 
Method Detail- 
descriptionpublic ProtectedTransportEndpointDescription description() Returns the description of this ProtectedPathEndPoint.- Returns:
- the description
 
 - 
pathStatespublic java.util.List<TransportEndpointState> pathStates() Returns theTransportEndpointStates forming the ProtectedPathEndPoint.- Returns:
- the pathStates
 
 - 
workingPathIndexpublic int workingPathIndex() Returns the index of the working Path inpathStates()List orACTIVE_UNKNOWN.- Returns:
- the activePathIndex
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
builderpublic static ProtectedTransportEndpointState.Builder builder() ReturnsProtectedTransportEndpointStatebuilder.- Returns:
- builder
 
 
- 
 
-