Class ImmutableGraph

  • All Implemented Interfaces:
    org.opennms.integration.api.v1.graph.Graph, org.opennms.integration.api.v1.graph.GraphInfo

    public final class ImmutableGraph
    extends ImmutableElement
    implements org.opennms.integration.api.v1.graph.Graph
    • Method Detail

      • getNamespace

        public java.lang.String getNamespace()
        Specified by:
        getNamespace in interface org.opennms.integration.api.v1.graph.GraphInfo
      • getLabel

        public java.lang.String getLabel()
        Specified by:
        getLabel in interface org.opennms.integration.api.v1.graph.GraphInfo
      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in interface org.opennms.integration.api.v1.graph.GraphInfo
      • getVertices

        public java.util.List<org.opennms.integration.api.v1.graph.Vertex> getVertices()
        Specified by:
        getVertices in interface org.opennms.integration.api.v1.graph.Graph
      • getEdges

        public java.util.List<org.opennms.integration.api.v1.graph.Edge> getEdges()
        Specified by:
        getEdges in interface org.opennms.integration.api.v1.graph.Graph
      • getVertex

        public org.opennms.integration.api.v1.graph.Vertex getVertex​(java.lang.String id)
        Specified by:
        getVertex in interface org.opennms.integration.api.v1.graph.Graph
      • getEdge

        public org.opennms.integration.api.v1.graph.Edge getEdge​(java.lang.String id)
        Specified by:
        getEdge in interface org.opennms.integration.api.v1.graph.Graph
      • getDefaultFocus

        public java.util.List<org.opennms.integration.api.v1.graph.VertexRef> getDefaultFocus()
        Specified by:
        getDefaultFocus in interface org.opennms.integration.api.v1.graph.Graph
      • newBuilder

        public static ImmutableGraph.Builder newBuilder​(org.opennms.integration.api.v1.graph.GraphInfo graphInfo)
      • newBuilderFrom

        public static ImmutableGraph.Builder newBuilderFrom​(org.opennms.integration.api.v1.graph.Graph graph)
      • immutableCopy

        public static org.opennms.integration.api.v1.graph.Graph immutableCopy​(org.opennms.integration.api.v1.graph.Graph graph)