Mercurial > hg > LGDataverses
view src/main/java/edu/harvard/iq/dataverse/engine/DataverseEngine.java @ 10:a50cf11e5178
Rewrite LGDataverse completely upgrading to dataverse4.0
| author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
|---|---|
| date | Tue, 08 Sep 2015 17:00:21 +0200 |
| parents | |
| children |
line wrap: on
line source
package edu.harvard.iq.dataverse.engine; import edu.harvard.iq.dataverse.engine.command.Command; import edu.harvard.iq.dataverse.engine.command.exception.CommandException; /** * Base interface for the Dataverse Engine - the entity responsible for * executing {@link Command}s. * * @author michael */ public interface DataverseEngine { /** * Submits a command for immediate execution. * @param <R> The command result's type. * @param aCommand The command to execute * @return The result of the command execution. * @throws CommandException */ public <R> R submit( Command<R> aCommand ) throws CommandException; }
