io.bdeploy.bhive.BHiveExecution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api Show documentation
Show all versions of api Show documentation
Public API including dependencies, ready to be used for integrations and plugins.
package io.bdeploy.bhive;
import io.bdeploy.bhive.BHive.Operation;
/**
* Interface for objects accepting a {@link Operation} for execution.
*
* This can be either a {@link BHive} itself, or an object bound to a specific {@link BHive}, for instance an {@link Operation}.
*/
public interface BHiveExecution {
/**
* @param op the {@link Operation} to execute
* @return the {@link Operation}s declared return type.
*/
public X execute(BHive.Operation op);
/**
* @return the transactions manager for this {@link BHiveExecution}
*/
public BHiveTransactions getTransactions();
/**
* @return an object which can be used to synchronize for a certain id/name on this BHive
*/
public Object getSynchronizationObject(String name);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy