本文整理了Java中com.palantir.gradle.circlestyle.XmlReportFailuresSupplier.<init>()
方法的一些代码示例,展示了XmlReportFailuresSupplier.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlReportFailuresSupplier.<init>()
方法的具体详情如下:
包路径:com.palantir.gradle.circlestyle.XmlReportFailuresSupplier
类名称:XmlReportFailuresSupplier
方法名:<init>
暂无
代码示例来源:origin: palantir/gradle-circle-style
public static <T extends Task & Reporting<? extends ReportContainer<SingleFileReport>>>
XmlReportFailuresSupplier create(final T task, final ReportHandler<T> reportHandler) {
// Ensure any necessary output is enabled
task.doFirst(new Action<Task>() {
@Override
public void execute(Task ignored) {
reportHandler.configureTask(task);
}
});
return new XmlReportFailuresSupplier(task, reportHandler);
}
代码示例来源:origin: com.palantir.baseline/gradle-circle-style
public static <T extends Task & Reporting<? extends ReportContainer<SingleFileReport>>>
XmlReportFailuresSupplier create(final T task, final ReportHandler<T> reportHandler) {
// Ensure any necessary output is enabled
task.doFirst(ignored -> reportHandler.configureTask(task));
return new XmlReportFailuresSupplier(task, reportHandler);
}
代码示例来源:origin: palantir/gradle-baseline
public static <T extends Task & Reporting<? extends ReportContainer<SingleFileReport>>>
XmlReportFailuresSupplier create(final T task, final ReportHandler<T> reportHandler) {
// Ensure any necessary output is enabled
task.doFirst(ignored -> reportHandler.configureTask(task));
return new XmlReportFailuresSupplier(task, reportHandler);
}
内容来源于网络,如有侵权,请联系作者删除!