public final class ImmutableGraph extends ImmutableElement implements org.opennms.integration.api.v1.graph.Graph
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableGraph.Builder |
ImmutableElement.AbstractBuilder<T extends ImmutableElement.AbstractBuilder>properties| Modifier and Type | Method and Description |
|---|---|
static ImmutableGraph.Builder |
builder() |
boolean |
equals(Object o) |
List<org.opennms.integration.api.v1.graph.VertexRef> |
getDefaultFocus() |
String |
getDescription() |
org.opennms.integration.api.v1.graph.Edge |
getEdge(String id) |
List<org.opennms.integration.api.v1.graph.Edge> |
getEdges() |
String |
getLabel() |
String |
getNamespace() |
org.opennms.integration.api.v1.graph.Vertex |
getVertex(String id) |
List<org.opennms.integration.api.v1.graph.Vertex> |
getVertices() |
int |
hashCode() |
static org.opennms.integration.api.v1.graph.Graph |
immutableCopy(org.opennms.integration.api.v1.graph.Graph graph) |
static ImmutableGraph.Builder |
newBuilder(org.opennms.integration.api.v1.graph.GraphInfo graphInfo) |
static ImmutableGraph.Builder |
newBuilderFrom(org.opennms.integration.api.v1.graph.Graph graph) |
String |
toString() |
getProperties, getProperty, getPropertypublic String getNamespace()
getNamespace in interface org.opennms.integration.api.v1.graph.GraphInfopublic String getLabel()
getLabel in interface org.opennms.integration.api.v1.graph.GraphInfopublic String getDescription()
getDescription in interface org.opennms.integration.api.v1.graph.GraphInfopublic List<org.opennms.integration.api.v1.graph.Vertex> getVertices()
getVertices in interface org.opennms.integration.api.v1.graph.Graphpublic List<org.opennms.integration.api.v1.graph.Edge> getEdges()
getEdges in interface org.opennms.integration.api.v1.graph.Graphpublic org.opennms.integration.api.v1.graph.Vertex getVertex(String id)
getVertex in interface org.opennms.integration.api.v1.graph.Graphpublic org.opennms.integration.api.v1.graph.Edge getEdge(String id)
getEdge in interface org.opennms.integration.api.v1.graph.Graphpublic List<org.opennms.integration.api.v1.graph.VertexRef> getDefaultFocus()
getDefaultFocus in interface org.opennms.integration.api.v1.graph.Graphpublic boolean equals(Object o)
equals in class ImmutableElementpublic int hashCode()
hashCode in class ImmutableElementpublic String toString()
toString in class ImmutableElementpublic static ImmutableGraph.Builder newBuilder(org.opennms.integration.api.v1.graph.GraphInfo graphInfo)
public static ImmutableGraph.Builder newBuilderFrom(org.opennms.integration.api.v1.graph.Graph graph)
public static org.opennms.integration.api.v1.graph.Graph immutableCopy(org.opennms.integration.api.v1.graph.Graph graph)
public static ImmutableGraph.Builder builder()
Copyright © 2021. All rights reserved.