Class ValidationUtilities
- java.lang.Object
-
- org.palladiosimulator.analyzer.quality.util.ValidationUtilities
-
public class ValidationUtilities extends Object
Contains general utilities used for the validation of performance specifications. Provides checksum calculation algorithms.
-
-
Field Summary
Fields Modifier and Type Field Description static List<SpecificationChecksumCalculator>
calculators
List of available data type converters.
-
Constructor Summary
Constructors Constructor Description ValidationUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
calculators
public static List<SpecificationChecksumCalculator> calculators
List of available data type converters.
-
-
Method Detail
-
calculate
public static long calculate(ServiceSpecification specification, String algorithmIdentifier)
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
public static void update(ServiceSpecification specification, String algorithmIdentifier)
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.
-
-