2016-09-14 14:27:54 +02:00
|
|
|
package org.gcube.portlets.user.dataminermanager.server.dmservice;
|
2016-04-06 18:28:32 +02:00
|
|
|
|
|
|
|
import org.gcube.portlets.user.dataminermanager.shared.exception.ServiceException;
|
|
|
|
|
|
|
|
/**
|
2016-09-14 14:27:54 +02:00
|
|
|
* Abstract class for build client of service
|
2016-04-06 18:28:32 +02:00
|
|
|
*
|
2017-05-12 11:58:15 +02:00
|
|
|
* @author Giancarlo Panichi
|
|
|
|
*
|
2016-04-06 18:28:32 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
public abstract class SClientBuilder {
|
|
|
|
protected SClientSpec sClientSpec;
|
|
|
|
|
|
|
|
public SClientSpec getSClientSpec() {
|
|
|
|
return sClientSpec;
|
|
|
|
}
|
|
|
|
|
|
|
|
public void createSpec() {
|
|
|
|
sClientSpec = new SClientSpec();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
public abstract void buildSClient() throws ServiceException;
|
|
|
|
|
|
|
|
}
|