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 Details

  • Constructor Details

    • ValidationUtilities

      public ValidationUtilities()
  • Method Details

    • 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.