edu.stanford.protege.webprotege.watches.WatchTriggeredHandler Maven / Gradle / Ivy
The newest version!
package edu.stanford.protege.webprotege.watches;
import edu.stanford.protege.webprotege.inject.ProjectSingleton;
import edu.stanford.protege.webprotege.common.UserId;
import org.semanticweb.owlapi.model.OWLEntity;
import javax.annotation.Nonnull;
import java.util.Set;
/**
* Matthew Horridge
* Stanford Center for Biomedical Informatics Research
* 04/03/15
*/
@ProjectSingleton
public interface WatchTriggeredHandler {
/**
* Handles a watch that was trigger on the specified entity
* @param usersToNotify The users to notify that the watch has been triggered.
* @param modifiedEntity The entity that was "changed" that triggered the watch.
* @param byUser The user that made the change that triggered the watch
*/
void handleWatchTriggered(@Nonnull Set usersToNotify,
@Nonnull OWLEntity modifiedEntity,
@Nonnull UserId byUser);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy