public class MergeCallback
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
MergeCallback.Listener |
Constructor and Description |
---|
MergeCallback() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(MergeCallback.Listener listener,
Disposable disposable) |
void |
applyResult(MergeResult result) |
boolean |
checkIsValid() |
static MergeCallback |
getCallback(MergeRequest request) |
static <T extends MergeRequest> |
register(T request,
Consumer<? super MergeResult> callback) |
static <T extends MergeRequest> |
register(T request,
MergeCallback callback) |
public void applyResult(MergeResult result)
public boolean checkIsValid()
public void addListener(MergeCallback.Listener listener, Disposable disposable)
public static <T extends MergeRequest> T register(T request, MergeCallback callback)
public static <T extends MergeRequest> T register(T request, Consumer<? super MergeResult> callback)
public static MergeCallback getCallback(MergeRequest request)