Class GraphState

    • Constructor Detail

      • GraphState

        public GraphState​(java.lang.String pluginId,
                          java.lang.String environmentId,
                          java.util.List<GraphNode> nodes,
                          java.util.List<GraphEdge> edges,
                          java.lang.Integer sampleSize)
    • Method Detail

      • getEnvironmentId

        public java.lang.String getEnvironmentId()
      • getNodes

        public java.util.List<@Valid GraphNode> getNodes()
      • getEdges

        public java.util.List<@Valid GraphEdge> getEdges()
      • getSampleSize

        public java.lang.Integer getSampleSize()
      • 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
      • withPluginId

        public GraphState withPluginId​(java.lang.String pluginId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withEnvironmentId

        public GraphState withEnvironmentId​(java.lang.String environmentId)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withNodes

        public GraphState withNodes​(java.util.List<@Valid GraphNode> nodes)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withEdges

        public GraphState withEdges​(java.util.List<@Valid GraphEdge> edges)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).
      • withSampleSize

        public GraphState withSampleSize​(java.lang.Integer sampleSize)
        Returns:
        a clone of this object, except with this updated property (returns this if an identical value is passed).