Package com.asakusafw.compiler.flow

Examples of com.asakusafw.compiler.flow.FlowCompiler


                localWorkingDirectory,
                repositories,
                serviceClassLoader,
                flowCompilerOptions);

        FlowCompiler compiler = new FlowCompiler(config);
        JobflowModel jobflow = compiler.compile(flowGraph);

        File jobflowSources = new File(
                localWorkingDirectory,
                Naming.getJobflowSourceBundleName(flowId));
        File jobflowPackage = new File(
                localWorkingDirectory,
                Naming.getJobflowClassPackageName(flowId));
        compiler.collectSources(jobflowSources);
        compiler.buildSources(jobflowPackage);

        return toInfo(jobflow, jobflowSources, jobflowPackage);
    }
View Full Code Here


        JobFlowClass jobflow = analyze(description);
        if (jobflow == null) {
            return null;
        }
        FlowCompilerConfiguration config = createConfiguration(jobflow);
        FlowCompiler compiler = new FlowCompiler(config);
        JobflowModel model = compiler.compile(jobflow.getGraph());

        File batchOutput = getEnvironment().getConfiguration().getOutputDirectory();
        String flowId = compiler.getTargetFlowId();
        compiler.buildSources(getPackageLocation(batchOutput, flowId));
        compiler.collectSources(getSourceLocation(batchOutput, flowId));
        return model;
    }
View Full Code Here

TOP

Related Classes of com.asakusafw.compiler.flow.FlowCompiler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.