package com.atlassian.bitbucket.util;

/**
 * Interface for operations carried out by services on behalf of plugins
 * @param <T> the return type of the perform operation
 * @param <E> the type of Throwable that can be thrown from perform.
 */
public interface Operation<T, E extends Throwable> {

    T perform() throws E;
}
