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:
- [email protected]
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusterTemplate
convertConfig(String name, String version, String templateName, Payload<?> payload)
Convert plugin specific config file into cluster templatePlugin
get(String name)
Get a plugin by namePlugin
get(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
-
-