Class Graph
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Graph
A network of nodes and directed edges that describes some aspect of the structure of the code (for example, a call graph).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEncapsulates a message intended to be read by the end user.getEdges()An array of edge objects representing the edges of the graph.getNodes()An array of node objects representing the nodes of the graph.Key/value pairs that provide additional information about the object.inthashCode()voidsetDescription(Message description) Encapsulates a message intended to be read by the end user.voidAn array of edge objects representing the edges of the graph.voidAn array of node objects representing the nodes of the graph.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.toString()withDescription(Message description) withProperties(PropertyBag properties)
-
Constructor Details
-
Graph
public Graph()
-
-
Method Details
-
getDescription
Encapsulates a message intended to be read by the end user. -
setDescription
Encapsulates a message intended to be read by the end user. -
withDescription
-
getNodes
An array of node objects representing the nodes of the graph. -
setNodes
An array of node objects representing the nodes of the graph. -
withNodes
-
getEdges
An array of edge objects representing the edges of the graph. -
setEdges
An array of edge objects representing the edges of the graph. -
withEdges
-
getProperties
Key/value pairs that provide additional information about the object. -
setProperties
Key/value pairs that provide additional information about the object. -
withProperties
-
toString
-
hashCode
public int hashCode() -
equals
-