Search in sources :

Example 1 with Warnings

use of org.iobserve.stages.data.Warnings in project iobserve-analysis by research-iobserve.

the class PrivacyWarner method execute.

@Override
protected void execute() throws Exception {
    final Warnings warnings = new Warnings();
    final PCMDeployedEvent deployedEvent = this.deployedInputPort.receive();
    final PCMUndeployedEvent undeployedEvent = this.undeployedInputPort.receive();
    if (deployedEvent != null) {
    // TODO generate warnings after the last deployment
    } else if (undeployedEvent != null) {
    // TODO generate warnings after the last undeployment
    }
    this.probesOutputPort.send(warnings);
    this.warningsOutputPort.send(warnings);
}
Also used : PCMDeployedEvent(org.iobserve.analysis.deployment.data.PCMDeployedEvent) PCMUndeployedEvent(org.iobserve.analysis.deployment.data.PCMUndeployedEvent) Warnings(org.iobserve.stages.data.Warnings)

Aggregations

PCMDeployedEvent (org.iobserve.analysis.deployment.data.PCMDeployedEvent)1 PCMUndeployedEvent (org.iobserve.analysis.deployment.data.PCMUndeployedEvent)1 Warnings (org.iobserve.stages.data.Warnings)1