Interface AssetGraphDefinitionRepository
-
- All Known Implementing Classes:
AssetGraphDefinitionRepositoryImpl
public interface AssetGraphDefinitionRepository
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addConfigDefinition(GeneratorConfig generatorConfig)
adds a new config definition to the repository throws an exception if a configuration with the same providerId already existsboolean
exists(java.lang.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 existGeneratorConfig
getConfigDefinition(java.lang.String providerId)
Returns Asset topology definition for given providerIdvoid
removeConfigDefinition(java.lang.String providerId)
removes the config definition for a given providerId.
-
-
-
Method Detail
-
getConfigDefinition
GeneratorConfig getConfigDefinition(java.lang.String providerId)
Returns Asset topology definition for given providerId- Parameters:
providerId
-- Returns:
- GeneratorConfig containing Asset topology definition or null if config does not exist
-
getAllConfigDefinitions
GeneratorConfigList getAllConfigDefinitions()
Returns a map of all asset topology definitions or empty map if no definitions exist- Returns:
- map of all GeneratorConfigs indexed by providerId
-
removeConfigDefinition
void removeConfigDefinition(java.lang.String providerId)
removes the config definition for a given providerId. Does nothing if this config does not exist.- Parameters:
providerId
-
-
addConfigDefinition
void addConfigDefinition(GeneratorConfig generatorConfig)
adds a new config definition to the repository throws an exception if a configuration with the same providerId already exists- Parameters:
generatorConfig
-
-
exists
boolean exists(java.lang.String providerId)
checks if config for providerId exists in the repository.- Parameters:
providerId
-- Returns:
- true if config exists
-
-