public FlowLoader createFlowLoader ( final File projectDir ) throws ProjectManagerException { if ( checkForValidProjectYamlFile ( projectDir ) ) { return new DirectoryYamlFlowLoader ( this . props ) ; } else { return new DirectoryFlowLoader ( this . props ) ; } }
Creates flow loader based on project YAML file inside project directory .