package com.alorma.github.ui.actions;
import rx.Subscriber;
public abstract class Action<T> extends Subscriber<T> {
private ActionCallback<T> callback;
public abstract Action<T> execute();
public ActionCallback<T> getCallback() {
return callback;
}
public Action<T> setCallback(ActionCallback<T> callback) {
this.callback = callback;
return this;
}
@Override
public void onCompleted() {
}
@Override
public void onError(Throwable e) {
}
@Override
public void onNext(T t) {
}
}