Class AccuracyIssueFactory


  • public class AccuracyIssueFactory
    extends Object
    Factory to create accuracy influence analysis issues.
    • Constructor Detail

      • AccuracyIssueFactory

        public AccuracyIssueFactory()
    • Method Detail

      • createMissingQualityAnnotationIssue

        public static de.uka.ipd.sdq.errorhandling.SeverityAndIssue createMissingQualityAnnotationIssue​(EObject object)
        Creates a new missing quality annotation issue for EObjects.
        Parameters:
        object - The object for which no quality annotation was found.
        Returns:
        the issue.
      • createMissingQualityAnnotationIssue

        public static de.uka.ipd.sdq.errorhandling.SeverityAndIssue createMissingQualityAnnotationIssue​(String resourceName,
                                                                                                        String rdseffId)
        Creates a new missing quality annotation issue for Objects which are not EObjects.
        Parameters:
        resourceName - The location of the resource.
        rdseffId - UUID of the RD-SEFF.
        Returns:
        the issue.
      • createInvalidQualityAnnotationIssue

        public static de.uka.ipd.sdq.errorhandling.SeverityAndIssue createInvalidQualityAnnotationIssue​(EObject object)
        Creates a new invalid quality annotation issue.
        Parameters:
        object - The object for which the quality annotation was invalid.
        Returns:
        the issue.
      • createParameterExtrapolationIssue

        public static de.uka.ipd.sdq.errorhandling.SeverityAndIssue createParameterExtrapolationIssue​(String variableReference,
                                                                                                      String rdseffId,
                                                                                                      String resourceName,
                                                                                                      Object actualValue,
                                                                                                      String actionId)
        Create a new parameter extrapolation issue.
        Parameters:
        variableReference - Identifier of the variable (including the variable's namespace).
        characterization - The characterization of the variable
        rdseffId - ID of the RD-SEFF in which the variable was used.
        resourceName - The location of the resource.
        actualValue - The actual experienced value which lead to the issue.
        Returns:
        new issue.
      • createTypeInferenceIssue

        public static de.uka.ipd.sdq.errorhandling.SeverityAndIssue createTypeInferenceIssue​(String msg)
        Creates a new type inference issue.
        Returns:
        new issue.
      • createCharacterisedPCMParameterPartition

        public static de.uka.ipd.sdq.errorhandling.SeverityAndIssue createCharacterisedPCMParameterPartition​(String msg,
                                                                                                             String objectResourceName,
                                                                                                             String partitionId)
        Creates a new issue for CharacterisedPCMParameterPartition.
        Parameters:
        msg - The message.
        objectResourceName - The resource in which the message occurred.
        partitionId - The UUID of the partition.
        Returns:
        new issue.