
com.activitystream.model.interfaces.EnrichableElement Maven / Gradle / Ivy
package com.activitystream.model.interfaces;
import java.util.Collection;
import java.util.List;
import java.util.concurrent.Future;
public interface EnrichableElement extends LinkedElement {
/**
* Goes through all aspects and entities and checks if they require enrichment service
* It passes back a list of completable futures for any async lookups that may need to be run
*/
//List> enrich(Tenant tenant, ServiceFrontend enrichmentFrontend, Collection limitTo);
/**
* Once the async enrichment is done this is called with the results
*/
//void enrichWith(Object result, Tenant tenant);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy