Class FailsafeBuildProgressListenerAdapter
- java.lang.Object
-
- org.gradle.tooling.internal.consumer.parameters.FailsafeBuildProgressListenerAdapter
-
- All Implemented Interfaces:
InternalBuildProgressListener
public class FailsafeBuildProgressListenerAdapter extends java.lang.Object implements InternalBuildProgressListener
-
-
Field Summary
-
Fields inherited from interface org.gradle.tooling.internal.protocol.InternalBuildProgressListener
BUILD_EXECUTION, PROJECT_CONFIGURATION_EXECUTION, TASK_EXECUTION, TEST_EXECUTION, TEST_OUTPUT, TRANSFORM_EXECUTION, WORK_ITEM_EXECUTION
-
-
Constructor Summary
Constructors Constructor Description FailsafeBuildProgressListenerAdapter(InternalBuildProgressListener delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getSubscribedOperations()
Returns the type of operations that the listener wants to subscribe to.void
onEvent(java.lang.Object event)
Invoked when a progress event happens in the build being run, and one or more listeners for the given event type have been registered.void
rethrowErrors()
-
-
-
Constructor Detail
-
FailsafeBuildProgressListenerAdapter
public FailsafeBuildProgressListenerAdapter(InternalBuildProgressListener delegate)
-
-
Method Detail
-
onEvent
public void onEvent(java.lang.Object event)
Description copied from interface:InternalBuildProgressListener
Invoked when a progress event happens in the build being run, and one or more listeners for the given event type have been registered. The event types implemented in Gradle 2.4 are: The event types implemented in Gradle 2.5 are:InternalProgressEvent
- used for all operation types.InternalTestProgressEvent
- test events also implement these types for backwards compatibility
- Specified by:
onEvent
in interfaceInternalBuildProgressListener
- Parameters:
event
- The issued progress event
-
getSubscribedOperations
public java.util.List<java.lang.String> getSubscribedOperations()
Description copied from interface:InternalBuildProgressListener
Returns the type of operations that the listener wants to subscribe to.- Specified by:
getSubscribedOperations
in interfaceInternalBuildProgressListener
- Returns:
- the type of operations to be notified about
-
rethrowErrors
public void rethrowErrors()
-
-