Record Class AnalysisData
java.lang.Object
java.lang.Record
org.palladiosimulator.dataflow.confidentiality.analysis.builder.AnalysisData
public record AnalysisData(ResourceLoader resourceLoader, NodeCharacteristicsCalculator nodeCharacteristicsCalculator, DataCharacteristicsCalculatorFactory variableCharacteristicsCalculator)
extends Record
-
Constructor Summary
ConstructorDescriptionAnalysisData
(ResourceLoader resourceLoader, NodeCharacteristicsCalculator nodeCharacteristicsCalculator, DataCharacteristicsCalculatorFactory variableCharacteristicsCalculator) Creates an instance of aAnalysisData
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thenodeCharacteristicsCalculator
record component.Returns the value of theresourceLoader
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thevariableCharacteristicsCalculator
record component.
-
Constructor Details
-
AnalysisData
public AnalysisData(ResourceLoader resourceLoader, NodeCharacteristicsCalculator nodeCharacteristicsCalculator, DataCharacteristicsCalculatorFactory variableCharacteristicsCalculator) Creates an instance of aAnalysisData
record class.- Parameters:
resourceLoader
- the value for theresourceLoader
record componentnodeCharacteristicsCalculator
- the value for thenodeCharacteristicsCalculator
record componentvariableCharacteristicsCalculator
- the value for thevariableCharacteristicsCalculator
record component
-
-
Method Details
-
getResourceLoader
-
getNodeCharacteristicsCalculator
-
getVariableCharacteristicsCalculator
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
resourceLoader
Returns the value of theresourceLoader
record component.- Returns:
- the value of the
resourceLoader
record component
-
nodeCharacteristicsCalculator
Returns the value of thenodeCharacteristicsCalculator
record component.- Returns:
- the value of the
nodeCharacteristicsCalculator
record component
-
variableCharacteristicsCalculator
Returns the value of thevariableCharacteristicsCalculator
record component.- Returns:
- the value of the
variableCharacteristicsCalculator
record component
-