
org.revenj.patterns.DataChangeNotification Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of revenj-core Show documentation
Show all versions of revenj-core Show documentation
DSL Platform compatible backend (https://dsl-platform.com)
The newest version!
package org.revenj.patterns;
import rx.Observable;
import java.util.List;
import java.util.concurrent.Callable;
public interface DataChangeNotification {
final class NotifyInfo {
public final String name;
public final Operation operation;
public final Source source;
public final String[] uris;
public NotifyInfo(String name, Operation operation, Source source, String[] uris) {
this.name = name;
this.operation = operation;
this.source = source;
this.uris = uris;
}
}
enum Operation {Insert, Update, Change, Delete}
enum Source {Database, Local}
Observable getNotifications();
final class TrackInfo {
public final String[] uris;
public final Callable> result;
public TrackInfo(String[] uris, Callable> result) {
this.uris = uris;
this.result = result;
}
}
Observable> track(Class manifest);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy