Search in sources :

Example 1 with AbstractFlowConfiguration

use of com.sequenceiq.cloudbreak.core.flow2.config.AbstractFlowConfiguration in project cloudbreak by hortonworks.

the class OfflineStateGenerator method initializeFlow.

private Flow initializeFlow() throws Exception {
    ((AbstractFlowConfiguration<?, ?>) flowConfiguration).init();
    Flow flow = flowConfiguration.createFlow("", 0L);
    flow.initialize();
    return flow;
}
Also used : AbstractFlowConfiguration(com.sequenceiq.cloudbreak.core.flow2.config.AbstractFlowConfiguration) Flow(com.sequenceiq.cloudbreak.core.flow2.Flow)

Aggregations

Flow (com.sequenceiq.cloudbreak.core.flow2.Flow)1 AbstractFlowConfiguration (com.sequenceiq.cloudbreak.core.flow2.config.AbstractFlowConfiguration)1