use of org.iobserve.service.privacy.violation.transformation.analysisgraph.PrivacyGraph in project iobserve-analysis by research-iobserve.
the class DataProtectionWarner method createAnalysisGraph.
private PrivacyGraph createAnalysisGraph() throws InvocationException, DBException {
synchronized (this) {
final PrivacyGraph privacyGraph = new PrivacyGraph("PrivacyWarner");
this.loadRoots();
// Fill the hashmaps
this.clearAndFillQueryMaps();
this.addDeployedComponents(privacyGraph);
this.addConnectors(privacyGraph);
return privacyGraph;
}
}
use of org.iobserve.service.privacy.violation.transformation.analysisgraph.PrivacyGraph in project iobserve-analysis by research-iobserve.
the class DataProtectionWarner method performPrivacyEvaluation.
private void performPrivacyEvaluation(final IPCMDeploymentEvent triggerEvent) throws FileNotFoundException, InstantiationException, IllegalAccessException, ClassNotFoundException, IOException, InvocationException, DBException {
final PrivacyGraph graph = this.createAnalysisGraph();
// debug code this.print(graph);
final WarningModel warnings = this.checkGraph(graph);
warnings.setEvent(triggerEvent);
this.probesOutputPort.send(warnings);
this.warningsOutputPort.send(warnings);
}
Aggregations