com.github.rahulsom.grooves.api.events.Deprecates Maven / Gradle / Ivy
package com.github.rahulsom.grooves.api.events;
import com.github.rahulsom.grooves.api.AggregateType;
import rx.Observable;
/**
* Aggregate deprecation event.
*
* The aggregate on which this event is applied is considered the winner of the merge.
* The converse is {@link DeprecatedBy} which needs to be applied to the other aggregate which
* loses the merge.
*
* @param Aggregate this event applies to
* @param The Type for Event's {@link #getId} field
* @param The parent event type
*
* @author Rahul Somasunderam
*/
public interface Deprecates
extends BaseEvent {
Observable> getConverseObservable();
Observable getDeprecatedObservable();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy