Search in sources :

Example 1 with RunContextPerMatchedMapping

use of org.ovirt.engine.core.bll.exportimport.vnics.MapVnicsHandlers.RunContextPerMatchedMapping in project ovirt-engine by oVirt.

the class MapVnicsFlow method init.

@PostConstruct
private void init() {
    matchMapping = new MatchUserMappingToOvfVnic();
    RunContextPerMatchedMapping runContexts = new RunContextPerMatchedMapping();
    ReportResults report = new ReportResults();
    matchMapping.setOnSuccess(createContexts);
    matchMapping.setOnNeutral(report);
    createContexts.setOnSuccess(runContexts);
    createContexts.setOnNeutral(report);
    runContexts.setOnSuccess(report);
    runContexts.setOnNeutral(report);
}
Also used : MatchUserMappingToOvfVnic(org.ovirt.engine.core.bll.exportimport.vnics.MapVnicsHandlers.MatchUserMappingToOvfVnic) ReportResults(org.ovirt.engine.core.bll.exportimport.vnics.MapVnicsHandlers.ReportResults) RunContextPerMatchedMapping(org.ovirt.engine.core.bll.exportimport.vnics.MapVnicsHandlers.RunContextPerMatchedMapping) PostConstruct(javax.annotation.PostConstruct)

Aggregations

PostConstruct (javax.annotation.PostConstruct)1 MatchUserMappingToOvfVnic (org.ovirt.engine.core.bll.exportimport.vnics.MapVnicsHandlers.MatchUserMappingToOvfVnic)1 ReportResults (org.ovirt.engine.core.bll.exportimport.vnics.MapVnicsHandlers.ReportResults)1 RunContextPerMatchedMapping (org.ovirt.engine.core.bll.exportimport.vnics.MapVnicsHandlers.RunContextPerMatchedMapping)1