@Beta
@Immutable
public class ProtectedTransportEndpointState
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ProtectedTransportEndpointState.Builder |
Modifier and Type | Field and Description |
---|---|
static int |
ACTIVE_UNKNOWN
Active path is currently unknown.
|
Modifier | Constructor and Description |
---|---|
protected |
ProtectedTransportEndpointState(ProtectedTransportEndpointDescription description,
java.util.List<TransportEndpointState> pathStates,
int activePathIndex) |
Modifier and Type | Method and Description |
---|---|
static ProtectedTransportEndpointState.Builder |
builder()
Returns
ProtectedTransportEndpointState builder. |
ProtectedTransportEndpointDescription |
description()
Returns the description of this ProtectedPathEndPoint.
|
java.util.List<TransportEndpointState> |
pathStates()
Returns the
TransportEndpointState s forming the ProtectedPathEndPoint. |
java.lang.String |
toString() |
int |
workingPathIndex()
Returns the index of the working Path in
pathStates() List or
ACTIVE_UNKNOWN . |
public static final int ACTIVE_UNKNOWN
protected ProtectedTransportEndpointState(ProtectedTransportEndpointDescription description, java.util.List<TransportEndpointState> pathStates, int activePathIndex)
public ProtectedTransportEndpointDescription description()
public java.util.List<TransportEndpointState> pathStates()
TransportEndpointState
s forming the ProtectedPathEndPoint.public int workingPathIndex()
pathStates()
List or
ACTIVE_UNKNOWN
.public java.lang.String toString()
toString
in class java.lang.Object
public static ProtectedTransportEndpointState.Builder builder()
ProtectedTransportEndpointState
builder.