Class SmartExecutorClientFactory

java.lang.Object
org.gcube.vremanagement.executor.client.SmartExecutorClientFactory

public class SmartExecutorClientFactory extends Object
Author:
Luca Frosini (ISTI - CNR)
  • Constructor Details

    • SmartExecutorClientFactory

      public SmartExecutorClientFactory()
  • Method Details

    • forceURL

      protected static void forceURL(String url)
    • 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