com.taboola.backstage.internal.factories.BackstageEndpointsFactory Maven / Gradle / Ivy
package com.taboola.backstage.internal.factories;
/**
*
* Backstage endpoints factory, creates interface implementations
*
* @author vladi
* @since 1.0.2
*/
public interface BackstageEndpointsFactory {
/**
* Creates backstage authentication endpoint
* @param endpointClazz interface representing endpoint
* @param represents endpoint class
* @return implementation of a supplied endpoint class
*/
A createAuthEndpoint(Class endpointClazz);
/**
* Creates backstage endpoint
* @param endpointClazz interface representing endpoint
* @param represents auth endpoint class
* @return implementation of a supplied endpoint class
*/
E createEndpoint(Class endpointClazz);
}