Package org.openstack4j.api.sahara
Interface SaharaPluginService
-
- All Superinterfaces:
RestService
- All Known Implementing Classes:
SaharaPluginServiceImpl
public interface SaharaPluginService extends RestService
Sahara Data Processing Operations- Author:
- ekasit.kijsipongse@nectec.or.th
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusterTemplateconvertConfig(String name, String version, String templateName, Payload<?> payload)Convert plugin specific config file into cluster templatePluginget(String name)Get a plugin by namePluginget(String name, String version)Get a specific plugin with all details by name and versionList<? extends Plugin>list()List all plugins
-
-
-
Method Detail
-
list
List<? extends Plugin> list()
List all plugins- Returns:
- list of plugins registered in Sahara or empty
-
get
Plugin get(String name)
Get a plugin by name- Parameters:
name- the plugin name- Returns:
- the plugin or null if not found
-
get
Plugin get(String name, String version)
Get a specific plugin with all details by name and version- Parameters:
name- the plugin nameversion- the plugin version- Returns:
- the plugin or null if not found
-
convertConfig
ClusterTemplate convertConfig(String name, String version, String templateName, Payload<?> payload)
Convert plugin specific config file into cluster template- Parameters:
name- the plugin nameversion- the plugin versiontemplateName- the cluster template namepayload- the config file for the specific plugin- Returns:
- the cluster template
-
-