Class AccuracyIssueFactory
java.lang.Object
org.palladiosimulator.analyzer.accuracy.issues.AccuracyIssueFactory
Factory to create accuracy influence analysis issues.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic de.uka.ipd.sdq.errorhandling.SeverityAndIssue
createCharacterisedPCMParameterPartition
(String msg, String objectResourceName, String partitionId) Creates a new issue forCharacterisedPCMParameterPartition
.static de.uka.ipd.sdq.errorhandling.SeverityAndIssue
Creates a new invalid quality annotation issue.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.static de.uka.ipd.sdq.errorhandling.SeverityAndIssue
Creates a new missing quality annotation issue for EObjects.static de.uka.ipd.sdq.errorhandling.SeverityAndIssue
createParameterExtrapolationIssue
(String variableReference, String rdseffId, String resourceName, Object actualValue, String actionId) Create a new parameter extrapolation issue.static de.uka.ipd.sdq.errorhandling.SeverityAndIssue
Creates a new type inference issue.
-
Constructor Details
-
AccuracyIssueFactory
public AccuracyIssueFactory()
-
-
Method Details
-
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 variablerdseffId
- 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
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 forCharacterisedPCMParameterPartition
.- Parameters:
msg
- The message.objectResourceName
- The resource in which the message occurred.partitionId
- The UUID of the partition.- Returns:
- new issue.
-