Interface ImportExportConfigurationService<T>
- All Known Implementing Classes:
ExportConfigurationServiceImpl
,ImportConfigurationServiceImpl
public interface ImportExportConfigurationService<T>
A service to access and operate on
ImportConfiguration
s / ExportConfiguration
s.-
Method Summary
Modifier and TypeMethodDescriptionUsed by camel route system to get the latest changes on configs and reflect changes on camel routes if necessaryvoid
Deletes the import/export configuration identified by the specified identifier.getAll()
Retrieves all the import/export configurations.Retrieves the import/export configuration identified by the specified identifier.Saves the specified import/export configuration in the context server.
-
Method Details
-
getAll
Retrieves all the import/export configurations.- Returns:
- the list of import/export configurations
-
load
Retrieves the import/export configuration identified by the specified identifier.- Parameters:
configId
- the identifier of the profile to retrieve- Returns:
- the import/export configuration identified by the specified identifier or
null
if no such import/export configuration exists
-
save
Saves the specified import/export configuration in the context server.- Parameters:
configuration
- the import/export configuration to be savedupdateRunningRoute
- set to true if running routes should be updated too- Returns:
- the newly saved import/export configuration
-
delete
Deletes the import/export configuration identified by the specified identifier.- Parameters:
configId
- the identifier of the import/export configuration to delete
-
consumeConfigsToBeRefresh
Map<String,RouterConstants.CONFIG_CAMEL_REFRESH> consumeConfigsToBeRefresh()Used by camel route system to get the latest changes on configs and reflect changes on camel routes if necessary- Returns:
- map of configId per operation to be done in camel
-