Class ExceptionResponseActionBuilderImpl
java.lang.Object
org.grpcmock.definitions.response.ExceptionResponseActionBuilderImpl
- All Implemented Interfaces:
BuilderStep,DelayBuilderStep<ExceptionResponseActionBuilder>,ExceptionResponseActionBuilder
public class ExceptionResponseActionBuilderImpl
extends Object
implements ExceptionResponseActionBuilder
- Author:
- Fadelis
-
Constructor Summary
ConstructorsConstructorDescriptionExceptionResponseActionBuilderImpl(io.grpc.Status status) ExceptionResponseActionBuilderImpl(Throwable exception) -
Method Summary
Modifier and TypeMethodDescription<RespT> TerminatingResponseAction<RespT>build()Configure aDelayfor the response action.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.grpcmock.definitions.response.steps.DelayBuilderStep
withFixedDelay, withFixedDelay, withRandomDelay, withRandomDelay, withRandomDelay, withRandomDelay
-
Constructor Details
-
ExceptionResponseActionBuilderImpl
-
ExceptionResponseActionBuilderImpl
-
-
Method Details
-
withDelay
Description copied from interface:DelayBuilderStepConfigure a
Delayfor the response action.Delay for
ResponseActionis additive, meaning that it will trigger after previousResponseActionhas finished.- Specified by:
withDelayin interfaceDelayBuilderStep<ExceptionResponseActionBuilder>
-
build
- Specified by:
buildin interfaceExceptionResponseActionBuilder
-