Class ValidationUtilities
java.lang.Object
org.palladiosimulator.analyzer.quality.util.ValidationUtilities
Contains general utilities used for the validation of performance specifications.
Provides checksum calculation algorithms.
-
Field Summary
Modifier and TypeFieldDescriptionstatic List<SpecificationChecksumCalculator>
List of available data type converters. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
calculate
(ServiceSpecification specification, String algorithmIdentifier) Calculates the checksum for the given specification with a calculator for the given identifier.static void
update
(ServiceSpecification specification, String algorithmIdentifier) Updates the checksum for the given specification using a calculator for the given identifier.
-
Field Details
-
calculators
List of available data type converters.
-
-
Constructor Details
-
ValidationUtilities
public ValidationUtilities()
-
-
Method Details
-
calculate
Calculates the checksum for the given specification with a calculator for the given identifier.- Parameters:
specification
- The performance specification.algorithmIdentifier
- The unique identifier for the algorithm.
-
update
Updates the checksum for the given specification using a calculator for the given identifier.- Parameters:
specification
- The performance specification.algorithmIdentifier
- The unique identifier for the algorithm.
-