Class ImmutableGraphContainer

  • All Implemented Interfaces:
    org.opennms.integration.api.v1.graph.GraphContainer

    public final class ImmutableGraphContainer
    extends java.lang.Object
    implements org.opennms.integration.api.v1.graph.GraphContainer
    • Method Detail

      • getGraphs

        public java.util.List<org.opennms.integration.api.v1.graph.Graph> getGraphs()
        Specified by:
        getGraphs in interface org.opennms.integration.api.v1.graph.GraphContainer
      • getGraph

        public org.opennms.integration.api.v1.graph.Graph getGraph​(java.lang.String namespace)
        Specified by:
        getGraph in interface org.opennms.integration.api.v1.graph.GraphContainer
      • getId

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

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

        public void setDescription​(java.lang.String description)
      • getLabel

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

        public java.util.Map<java.lang.String,​java.lang.Object> getProperties()
        Specified by:
        getProperties in interface org.opennms.integration.api.v1.graph.GraphContainer
      • getProperty

        public <T> T getProperty​(java.lang.String key)
        Specified by:
        getProperty in interface org.opennms.integration.api.v1.graph.GraphContainer
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • newBuilderFrom

        public static ImmutableGraphContainer.Builder newBuilderFrom​(org.opennms.integration.api.v1.graph.GraphContainer fromGraphContainer)
      • immutableCopy

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