Java 类org.gradle.api.tasks.diagnostics.internal.ReportRenderer 实例源码

项目:Pushjet-Android    文件:AbstractReportTask.java   
@TaskAction
public void generate() {
    try {
        ReportRenderer renderer = getRenderer();
        File outputFile = getOutputFile();
        if (outputFile != null) {
            renderer.setOutputFile(outputFile);
        } else {
            renderer.setOutput(getTextOutputFactory().create(getClass()));
        }
        Set<Project> projects = new TreeSet<Project>(getProjects());
        for (Project project : projects) {
            renderer.startProject(project);
            generate(project);
            renderer.completeProject(project);
        }
        renderer.complete();
    } catch (IOException e) {
        throw new UncheckedIOException(e);
    }
}
项目:Pushjet-Android    文件:AbstractReportTask.java   
@TaskAction
public void generate() {
    try {
        ReportRenderer renderer = getRenderer();
        File outputFile = getOutputFile();
        if (outputFile != null) {
            renderer.setOutputFile(outputFile);
        } else {
            renderer.setOutput(getServices().get(StyledTextOutputFactory.class).create(getClass()));
        }
        Set<Project> projects = new TreeSet<Project>(getProjects());
        for (Project project : projects) {
            renderer.startProject(project);
            generate(project);
            renderer.completeProject(project);
        }
        renderer.complete();
    } catch (IOException e) {
        throw new UncheckedIOException(e);
    }
}
项目:Reer    文件:PropertyReportTask.java   
@Override
public ReportRenderer getRenderer() {
    return renderer;
}
项目:Reer    文件:AbstractReportTask.java   
@Internal
protected abstract ReportRenderer getRenderer();
项目:Reer    文件:AbstractDependencyReportTask.java   
@Override
public ReportRenderer getRenderer() {
    return renderer;
}
项目:Reer    文件:TaskReportTask.java   
@Override
public ReportRenderer getRenderer() {
    return renderer;
}
项目:intellij-ce-playground    文件:SourceSetsTask.java   
@Override
protected ReportRenderer getRenderer() {
    return mRenderer;
}
项目:Pushjet-Android    文件:PropertyReportTask.java   
public ReportRenderer getRenderer() {
    return renderer;
}
项目:Pushjet-Android    文件:DependencyReportTask.java   
public ReportRenderer getRenderer() {
    return renderer;
}
项目:Pushjet-Android    文件:PropertyReportTask.java   
public ReportRenderer getRenderer() {
    return renderer;
}
项目:Pushjet-Android    文件:DependencyReportTask.java   
public ReportRenderer getRenderer() {
    return renderer;
}
项目:Pushjet-Android    文件:AbstractReportTask.java   
protected abstract ReportRenderer getRenderer();
项目:Pushjet-Android    文件:AbstractReportTask.java   
protected abstract ReportRenderer getRenderer();