Class SmartExecutorClientFactory
java.lang.Object
org.gcube.vremanagement.executor.client.SmartExecutorClientFactory
- Author:
- Luca Frosini (ISTI - CNR)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static voidstatic SmartExecutorClientImplReturns a client of a Smart Executor instance, chosen at random among the active ones that run the plugin.
-
Constructor Details
-
SmartExecutorClientFactory
public SmartExecutorClientFactory()
-
-
Method Details
-
forceURL
-
getClient
public static SmartExecutorClientImpl getClient(String pluginName) throws org.gcube.vremanagement.executor.exception.ExecutorException Returns a client of a Smart Executor instance, chosen at random among the active ones that run the plugin.- Parameters:
pluginName- the name of the plugin, its Maven artifactId- Returns:
- the client
- Throws:
org.gcube.vremanagement.executor.exception.ExecutorException- if no active instance runs the plugin
-