Interface FailureReporter<T extends org.gradle.api.Task>
-
- Type Parameters:
T- the task type e.g. JavaCompile/Checkstyle etc
- All Known Implementing Classes:
CheckstyleFailureReporter,JavaCompileFailureReporter
public interface FailureReporter<T extends org.gradle.api.Task>Interface that configures tasks of type {@param T} and collects any failures for them into a stream ofFinalizer.FailureReports.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.stream.Stream<Finalizer.FailureReport>collect(org.gradle.api.Project project, T task)Collects the failures from a task of type {@param T} from the currentProject.voidconfigureTask(T task)Configures a task of type {@param T} to prepare the failure report collection.
-
-
-
Method Detail
-
collect
java.util.stream.Stream<Finalizer.FailureReport> collect(org.gradle.api.Project project, T task)
Collects the failures from a task of type {@param T} from the currentProject.
-
configureTask
void configureTask(T task)
Configures a task of type {@param T} to prepare the failure report collection.
-
-