Interface AdaptationConfiguration
- All Known Implementing Classes:
AdaptationConfigurationImpl
public interface AdaptationConfiguration
The adaptation configuration for the execution with adaptation manager.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAlgorithmConfiguration
(String name, String id, AlgorithmConfiguration algorithmConfig) addAlgorithmConfiguration.addDefaultAlgorithmConfiguration
(String algorithmName, String algorithmId) Instantiates a default configuration for the given adaptation algorithm.void
clearAlgorithmConfigurations.getAlgorithmConfiguration.getAlgorithmConfiguration
(String name, String id) getAlgorithmConfiguration.getAlgorithmConfigurations.getGlobalConfiguration.void
setGlobalConfiguration
(AlgorithmConfiguration globalConfig) setGlobalConfiguration.
-
Method Details
-
getGlobalConfiguration
AlgorithmConfiguration getGlobalConfiguration()getGlobalConfiguration.
- Returns:
- a
AlgorithmConfiguration
object
-
setGlobalConfiguration
setGlobalConfiguration.
- Parameters:
globalConfig
- aAlgorithmConfiguration
object
-
getAlgorithmConfiguration
getAlgorithmConfiguration.
- Parameters:
name
- aString
objectid
- aString
object- Returns:
- a
AlgorithmConfiguration
object
-
getAlgorithmConfiguration
AlgorithmConfiguration getAlgorithmConfiguration()getAlgorithmConfiguration.
- Returns:
- algorithm configuration if there exists only one, null otherwise
-
addAlgorithmConfiguration
addAlgorithmConfiguration.
- Parameters:
name
- aString
objectid
- aString
objectalgorithmConfig
- aAlgorithmConfiguration
object
-
addDefaultAlgorithmConfiguration
Instantiates a default configuration for the given adaptation algorithm.- Parameters:
algorithmName
- Algorithm namealgorithmId
- Algorithm identifier- Returns:
- added configuration
-
getAlgorithmConfigurations
LinkedHashMap<String,AlgorithmConfiguration> getAlgorithmConfigurations()getAlgorithmConfigurations.
- Returns:
- a
LinkedHashMap
object
-
clearAlgorithmConfigurations
void clearAlgorithmConfigurations()clearAlgorithmConfigurations.
-