@OpenApiAll
public class MatrixDataHelper
extends java.lang.Object
Constructor and Description |
---|
MatrixDataHelper() |
Modifier and Type | Method and Description |
---|---|
static MatrixData |
buildMatrix(Diagram matrix)
Collects all data for provided matrix data component.
|
static MatrixData |
getMatrixData(Diagram matrix)
Gets the matrix diagram data object.
|
static boolean |
isRebuildNeeded(Diagram matrix)
Checks if the current Dependency Matrix data is up to date or even are collected.
|
@CheckForNull public static MatrixData getMatrixData(Diagram matrix)
MatrixDataHelper.buildMatrix()
methodmatrix
- diagram of the dependency matrixnull
if this
dependency matrix was not found. Before using data make sure if the matrix data is up to date
and does not need to be rebuilt@CheckForNull public static MatrixData buildMatrix(Diagram matrix)
matrix
- Dependency Matrix diagram instancenull
if this
dependency matrix was not foundpublic static boolean isRebuildNeeded(Diagram matrix)
true
you need to call MatrixDataHelper.buildMatrix()
in order to
get correct datamatrix
- Dependency Matrix diagram instancetrue
if rebuild is required