public class AssetGraphDefinitionRepositoryImpl extends Object implements AssetGraphDefinitionRepository
Constructor and Description |
---|
AssetGraphDefinitionRepositoryImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addConfigDefinition(GeneratorConfig generatorConfig)
adds a new config definition to the repository
throws an exception if a configuration with the same providerId already exists
|
boolean |
exists(String providerId)
checks if config for providerId exists in the repository.
|
GeneratorConfigList |
getAllConfigDefinitions()
Returns a map of all asset topology definitions or empty map if no definitions exist
|
GeneratorConfig |
getConfigDefinition(String providerId)
Returns Asset topology definition for given providerId
|
void |
removeConfigDefinition(String providerId)
removes the config definition for a given providerId.
|
public GeneratorConfig getConfigDefinition(String providerId)
AssetGraphDefinitionRepository
getConfigDefinition
in interface AssetGraphDefinitionRepository
public boolean exists(String providerId)
AssetGraphDefinitionRepository
exists
in interface AssetGraphDefinitionRepository
public GeneratorConfigList getAllConfigDefinitions()
AssetGraphDefinitionRepository
getAllConfigDefinitions
in interface AssetGraphDefinitionRepository
public void removeConfigDefinition(String providerId)
AssetGraphDefinitionRepository
removeConfigDefinition
in interface AssetGraphDefinitionRepository
public void addConfigDefinition(GeneratorConfig generatorConfig)
AssetGraphDefinitionRepository
addConfigDefinition
in interface AssetGraphDefinitionRepository
Copyright © 2018. All rights reserved.