Class GraphTraversal

java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.GraphTraversal

public class GraphTraversal extends Object
Represents a path through a graph.
  • Constructor Details

    • GraphTraversal

      public GraphTraversal()
  • Method Details

    • getRunGraphIndex

      public Integer getRunGraphIndex()
      The index within the run.graphs to be associated with the result.
    • setRunGraphIndex

      public void setRunGraphIndex(Integer runGraphIndex)
      The index within the run.graphs to be associated with the result.
    • withRunGraphIndex

      public GraphTraversal withRunGraphIndex(Integer runGraphIndex)
    • getResultGraphIndex

      public Integer getResultGraphIndex()
      The index within the result.graphs to be associated with the result.
    • setResultGraphIndex

      public void setResultGraphIndex(Integer resultGraphIndex)
      The index within the result.graphs to be associated with the result.
    • withResultGraphIndex

      public GraphTraversal withResultGraphIndex(Integer resultGraphIndex)
    • getDescription

      public Message getDescription()
      Encapsulates a message intended to be read by the end user.
    • setDescription

      public void setDescription(Message description)
      Encapsulates a message intended to be read by the end user.
    • withDescription

      public GraphTraversal withDescription(Message description)
    • getInitialState

      public InitialState__1 getInitialState()
      Values of relevant expressions at the start of the graph traversal that may change during graph traversal.
    • setInitialState

      public void setInitialState(InitialState__1 initialState)
      Values of relevant expressions at the start of the graph traversal that may change during graph traversal.
    • withInitialState

      public GraphTraversal withInitialState(InitialState__1 initialState)
    • getImmutableState

      public ImmutableState__1 getImmutableState()
      Values of relevant expressions at the start of the graph traversal that remain constant for the graph traversal.
    • setImmutableState

      public void setImmutableState(ImmutableState__1 immutableState)
      Values of relevant expressions at the start of the graph traversal that remain constant for the graph traversal.
    • withImmutableState

      public GraphTraversal withImmutableState(ImmutableState__1 immutableState)
    • getEdgeTraversals

      public List<EdgeTraversal> getEdgeTraversals()
      The sequences of edges traversed by this graph traversal.
    • setEdgeTraversals

      public void setEdgeTraversals(List<EdgeTraversal> edgeTraversals)
      The sequences of edges traversed by this graph traversal.
    • withEdgeTraversals

      public GraphTraversal withEdgeTraversals(List<EdgeTraversal> edgeTraversals)
    • getProperties

      public PropertyBag getProperties()
      Key/value pairs that provide additional information about the object.
    • setProperties

      public void setProperties(PropertyBag properties)
      Key/value pairs that provide additional information about the object.
    • withProperties

      public GraphTraversal withProperties(PropertyBag properties)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object