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 ofSmoochCallback
that 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 void
run(SmoochCallback.Response<T> response)
Invoke theSmoochCallback
with the results of the action
-
-
-
Method Detail
-
run
public void run(SmoochCallback.Response<T> response)
Description copied from interface:SmoochCallback
Invoke theSmoochCallback
with the results of the action- Specified by:
run
in interfaceSmoochCallback<T>
- Parameters:
response
- an instance ofSmoochCallback.Response
containing the results of the action
-
-