use of org.talend.dataquality.analysis.ExecutionInformations in project tdq-studio-se by Talend.
the class ReportHelper method getExecutionInformations.
/**
* Method "getExecutionInformations" returns the execution informations of the given report. If none existed, they
* are created and stored in the report.
*
* @param report a report
* @return the existing execution informations
*/
public static ExecutionInformations getExecutionInformations(TdReport report) {
ExecutionInformations execInformations = report.getExecInformations();
if (execInformations == null) {
execInformations = AnalysisFactory.eINSTANCE.createExecutionInformations();
report.setExecInformations(execInformations);
}
return execInformations;
}
use of org.talend.dataquality.analysis.ExecutionInformations in project tdq-studio-se by Talend.
the class AnalysisBaseBuilder method createAnalysisResult.
private AnalysisResult createAnalysisResult() {
AnalysisResult result = AnalysisFactory.eINSTANCE.createAnalysisResult();
// create its metadata
ExecutionInformations executionInformations = AnalysisFactory.eINSTANCE.createExecutionInformations();
result.setResultMetadata(executionInformations);
return result;
}
use of org.talend.dataquality.analysis.ExecutionInformations in project tdq-studio-se by Talend.
the class AnalysisResultImpl method basicSetResultMetadata.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetResultMetadata(ExecutionInformations newResultMetadata, NotificationChain msgs) {
ExecutionInformations oldResultMetadata = resultMetadata;
resultMetadata = newResultMetadata;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, AnalysisPackage.ANALYSIS_RESULT__RESULT_METADATA, oldResultMetadata, newResultMetadata);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations