Class TransportEndpointDescription
- java.lang.Object
-
- org.onosproject.net.behaviour.protection.TransportEndpointDescription
-
@Beta @Immutable public class TransportEndpointDescription extends java.lang.Object
Configuration for a underlying path endpoint, forming protected path.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransportEndpointDescription.Builder
-
Constructor Summary
Constructors Modifier Constructor Description protected
TransportEndpointDescription(FilteredConnectPoint output, boolean enabled)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransportEndpointDescription.Builder
builder()
ReturnsTransportEndpointDescription
builder.boolean
isEnabled()
Returns administrative state.FilteredConnectPoint
output()
java.lang.String
toString()
-
-
-
Constructor Detail
-
TransportEndpointDescription
protected TransportEndpointDescription(FilteredConnectPoint output, boolean enabled)
-
-
Method Detail
-
output
public FilteredConnectPoint output()
- Returns:
- the output
-
isEnabled
public boolean isEnabled()
Returns administrative state.- Returns:
- the enabled
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
builder
public static TransportEndpointDescription.Builder builder()
ReturnsTransportEndpointDescription
builder.- Returns:
- the builder
-
-