Class ValidationUtilities


  • public class ValidationUtilities
    extends Object
    Contains general utilities used for the validation of performance specifications. Provides checksum calculation algorithms.
    • Constructor Detail

      • ValidationUtilities

        public ValidationUtilities()
    • 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.