Search in sources :

Example 1 with PrivacyGraph

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;
    }
}
Also used : PrivacyGraph(org.iobserve.service.privacy.violation.transformation.analysisgraph.PrivacyGraph)

Example 2 with 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);
}
Also used : WarningModel(org.iobserve.service.privacy.violation.data.WarningModel) PrivacyGraph(org.iobserve.service.privacy.violation.transformation.analysisgraph.PrivacyGraph)

Aggregations

PrivacyGraph (org.iobserve.service.privacy.violation.transformation.analysisgraph.PrivacyGraph)2 WarningModel (org.iobserve.service.privacy.violation.data.WarningModel)1