Package io.smooch.core
Class StubbedCallback<T>
- java.lang.Object
-
- io.smooch.core.StubbedCallback<T>
-
- Type Parameters:
T- the type parameter for this callback
- All Implemented Interfaces:
SmoochCallback<T>
public class StubbedCallback<T> extends java.lang.Object implements SmoochCallback<T>
Stubbed implementation ofSmoochCallbackthat does nothing when invoked
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.smooch.core.SmoochCallback
SmoochCallback.Response<T>
-
-
Constructor Summary
Constructors Constructor Description StubbedCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun(SmoochCallback.Response<T> response)Invoke theSmoochCallbackwith the results of the action
-
-
-
Method Detail
-
run
public void run(SmoochCallback.Response<T> response)
Description copied from interface:SmoochCallbackInvoke theSmoochCallbackwith the results of the action- Specified by:
runin interfaceSmoochCallback<T>- Parameters:
response- an instance ofSmoochCallback.Responsecontaining the results of the action
-
-