* @return コンパイル結果
* @throws IOException コンパイルに失敗した場合
* @throws IllegalArgumentException 引数に{@code null}が指定された場合
*/
public JobflowInfo compileJobflow(Class<? extends FlowDescription> description) throws IOException {
JobFlowDriver driver = JobFlowDriver.analyze(description);
assertThat(driver.getDiagnostics().toString(), driver.hasError(), is(false));
List<File> classPath = buildClassPath(description);
JobflowInfo info = DirectFlowCompiler.compile(
driver.getJobFlowClass().getGraph(),
"testing",
driver.getJobFlowClass().getConfig().name(),
"com.example",
hadoopDriver.toPath(path("runtime", "jobflow")),
new File("target/localwork", testName),
classPath,
getClass().getClassLoader(),