Class SmartExecutorClientImpl
java.lang.Object
org.gcube.vremanagement.executor.client.SmartExecutorClientImpl
- All Implemented Interfaces:
SmartExecutorClient
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanprotected org.gcube.common.gxhttp.request.GXHTTPStringRequestgetHost()static StringgetHostFromCompleteURL(String address) List<org.gcube.vremanagement.executor.plugin.ScheduledTask>List<org.gcube.vremanagement.executor.plugin.PluginDefinition>getPluginStateEvolution(String executionIdentifier) getPluginStateEvolution(String executionIdentifier, int iterationNumber) org.gcube.vremanagement.executor.plugin.PluginStateEvolutiongetPluginStateEvolution(UUID executionIdentifier) org.gcube.vremanagement.executor.plugin.PluginStateEvolutiongetPluginStateEvolution(UUID executionIdentifier, int iterationNumber) List<org.gcube.vremanagement.executor.plugin.ScheduledTask>protected static StringBuildergetStringBuilder(InputStream inputStream) launch(org.gcube.vremanagement.executor.api.types.LaunchParameter launchParameter) protected StringparseHttpURLConnection(HttpURLConnection connection) voidsetAddress(String address) voidsetPluginName(String pluginName)
-
Field Details
-
PATH_SEPARATOR
- See Also:
-
pluginName
-
host
-
address
-
-
Constructor Details
-
SmartExecutorClientImpl
public SmartExecutorClientImpl()
-
-
Method Details
-
getHostFromCompleteURL
-
getHost
- Specified by:
getHostin interfaceSmartExecutorClient
-
getAddress
-
setAddress
-
getPluginName
-
setPluginName
-
getStringBuilder
- Throws:
IOException
-
getGXHTTPStringRequest
protected org.gcube.common.gxhttp.request.GXHTTPStringRequest getGXHTTPStringRequest() -
parseHttpURLConnection
protected String parseHttpURLConnection(HttpURLConnection connection) throws jakarta.ws.rs.WebApplicationException - Throws:
jakarta.ws.rs.WebApplicationException
-
getAvailablePlugins
- Specified by:
getAvailablePluginsin interfaceSmartExecutorClient
-
getPlugins
public List<org.gcube.vremanagement.executor.plugin.PluginDefinition> getPlugins() throws IOException- Specified by:
getPluginsin interfaceSmartExecutorClient- Throws:
IOException
-
getOrphanLaunches
- Specified by:
getOrphanLaunchesin interfaceSmartExecutorClient
-
getOrphanScheduledLaunches
public List<org.gcube.vremanagement.executor.plugin.ScheduledTask> getOrphanScheduledLaunches() throws IOException- Specified by:
getOrphanScheduledLaunchesin interfaceSmartExecutorClient- Throws:
IOException
-
getLaunches
- Specified by:
getLaunchesin interfaceSmartExecutorClient
-
getScheduledLaunches
public List<org.gcube.vremanagement.executor.plugin.ScheduledTask> getScheduledLaunches() throws IOException- Specified by:
getScheduledLaunchesin interfaceSmartExecutorClient- Throws:
IOException
-
launch
- Specified by:
launchin interfaceSmartExecutorClient
-
launch
- Specified by:
launchin interfaceSmartExecutorClient
-
getPluginStateEvolution
- Specified by:
getPluginStateEvolutionin interfaceSmartExecutorClient
-
getPluginStateEvolution
- Specified by:
getPluginStateEvolutionin interfaceSmartExecutorClient
-
getPluginStateEvolution
public org.gcube.vremanagement.executor.plugin.PluginStateEvolution getPluginStateEvolution(UUID executionIdentifier) - Specified by:
getPluginStateEvolutionin interfaceSmartExecutorClient
-
getPluginStateEvolution
public org.gcube.vremanagement.executor.plugin.PluginStateEvolution getPluginStateEvolution(UUID executionIdentifier, int iterationNumber) - Specified by:
getPluginStateEvolutionin interfaceSmartExecutorClient
-
delete
- Specified by:
deletein interfaceSmartExecutorClient
-
delete
- Specified by:
deletein interfaceSmartExecutorClient
-
delete
- Specified by:
deletein interfaceSmartExecutorClient
-
delete
- Specified by:
deletein interfaceSmartExecutorClient
-