Class RethrowingErrorsConsumerActionExecutor
- java.lang.Object
-
- org.gradle.tooling.internal.consumer.connection.RethrowingErrorsConsumerActionExecutor
-
- All Implemented Interfaces:
org.gradle.internal.concurrent.Stoppable
,ConsumerActionExecutor
public class RethrowingErrorsConsumerActionExecutor extends java.lang.Object implements ConsumerActionExecutor
-
-
Constructor Summary
Constructors Constructor Description RethrowingErrorsConsumerActionExecutor(ConsumerActionExecutor delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disconnect()
java.lang.String
getDisplayName()
<T> T
run(ConsumerAction<T> action)
void
stop()
Blocks until all actions have completed.
-
-
-
Constructor Detail
-
RethrowingErrorsConsumerActionExecutor
public RethrowingErrorsConsumerActionExecutor(ConsumerActionExecutor delegate)
-
-
Method Detail
-
stop
public void stop()
Description copied from interface:ConsumerActionExecutor
Blocks until all actions have completed.- Specified by:
stop
in interfaceConsumerActionExecutor
- Specified by:
stop
in interfaceorg.gradle.internal.concurrent.Stoppable
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName
in interfaceConsumerActionExecutor
-
run
public <T> T run(ConsumerAction<T> action) throws java.lang.UnsupportedOperationException, java.lang.IllegalStateException
- Specified by:
run
in interfaceConsumerActionExecutor
- Throws:
java.lang.UnsupportedOperationException
java.lang.IllegalStateException
-
disconnect
public void disconnect()
- Specified by:
disconnect
in interfaceConsumerActionExecutor
-
-