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 voiddisconnect()java.lang.StringgetDisplayName()<T> Trun(ConsumerAction<T> action)voidstop()Blocks until all actions have completed.
-
-
-
Constructor Detail
-
RethrowingErrorsConsumerActionExecutor
public RethrowingErrorsConsumerActionExecutor(ConsumerActionExecutor delegate)
-
-
Method Detail
-
stop
public void stop()
Description copied from interface:ConsumerActionExecutorBlocks until all actions have completed.- Specified by:
stopin interfaceConsumerActionExecutor- Specified by:
stopin interfaceorg.gradle.internal.concurrent.Stoppable
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayNamein interfaceConsumerActionExecutor
-
run
public <T> T run(ConsumerAction<T> action) throws java.lang.UnsupportedOperationException, java.lang.IllegalStateException
- Specified by:
runin interfaceConsumerActionExecutor- Throws:
java.lang.UnsupportedOperationExceptionjava.lang.IllegalStateException
-
disconnect
public void disconnect()
- Specified by:
disconnectin interfaceConsumerActionExecutor
-
-