com.github.bordertech.taskmaster.service.ServiceAction Maven / Gradle / Ivy
package com.github.bordertech.taskmaster.service;
import java.io.Serializable;
/**
* Invoke a service interface.
*
* @param the criteria type
* @param the response type
* @author Jonathan Austin
* @since 1.0.0
*/
public interface ServiceAction {
/**
* Invoke service call.
*
* @param criteria the service criteria
* @return the service response
*/
T service(final S criteria);
}