Class ConfigurationSetup
java.lang.Object
de.iip_ecosphere.platform.support.setup.AbstractSetup
de.iip_ecosphere.platform.configuration.cfg.ConfigurationSetup
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.setup.PluginsSetup
public class ConfigurationSetup
extends de.iip_ecosphere.platform.support.setup.AbstractSetup
The setup for the configuration component. As there are also EASy-Producer configuration classes with different
meaning, we did not call this class "Configuration" or "ConfigurationConfiguration".
- Author:
- Holger Eichelberger, SSE
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Fileprivate Stringprivate de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetupprivate de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetupprivate FileFields inherited from class de.iip_ecosphere.platform.support.setup.AbstractSetup
DEFAULT_FNAME, DEFAULT_NAME, DEFAULT_OVERRIDE_FNAME, PARAM_PLUGINS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the folder containing installable artifacts.Returns the artifacts URI prefix.de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetupReturns the container image storage.de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetupReturns the EASy-Producer setup.Returns the folder containing uploaded artifacts.voidsetArtifactsFolder(File artifactsFolder) Changes the folder containing installable artifacts.voidsetArtifactsUriPrefix(String artifactsUriPrefix) Changes the artifacts URI prefix.voidsetContainerImageStorage(de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup containerImageStorage) Returns the setup for the global container image storage.voidsetServiceArtifactStorage(de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup serviceArtifactStorage) Returns the EASy-Producer setup.voidsetUploadFolder(File uploadFolder) Changes the folder containing uploaded artifacts.Methods inherited from class de.iip_ecosphere.platform.support.setup.AbstractSetup
getDefaultFileName, getPluginsFolder, isNotEmpty, readFromYaml, readFromYaml, readFromYaml, readFromYaml, readFromYaml, readFromYamlWithPath, readFromYamlWithPath, readFromYamlWithPath, readFromYamlWithPath, readMappingFromYaml, readMappingFromYaml, setDefaultFileName, setPluginsFolder, setPluginsFolderFile
-
Field Details
-
serviceArtifactStorage
private de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup serviceArtifactStorage -
containerImageStorage
private de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup containerImageStorage -
artifactsFolder
-
artifactsUriPrefix
-
uploadFolder
-
-
Constructor Details
-
ConfigurationSetup
public ConfigurationSetup()
-
-
Method Details
-
getServiceArtifactStorage
public de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup getServiceArtifactStorage()Returns the EASy-Producer setup.- Returns:
- the setup
-
setServiceArtifactStorage
public void setServiceArtifactStorage(de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup serviceArtifactStorage) Returns the EASy-Producer setup. [snakyaml]- Parameters:
serviceArtifactStorage- the storage setup
-
getContainerImageStorage
public de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup getContainerImageStorage()Returns the container image storage.- Returns:
- the setup
-
setContainerImageStorage
public void setContainerImageStorage(de.iip_ecosphere.platform.deviceMgt.storage.PackageStorageSetup containerImageStorage) Returns the setup for the global container image storage. [snakyaml]- Parameters:
containerImageStorage- the setup
-
getArtifactsFolder
Returns the folder containing installable artifacts.- Returns:
- the folder
-
setArtifactsFolder
Changes the folder containing installable artifacts. [snakeyaml]- Parameters:
artifactsFolder- the folder
-
getArtifactsUriPrefix
Returns the artifacts URI prefix.- Returns:
- the prefix with protocol, may be empty for none
-
setArtifactsUriPrefix
Changes the artifacts URI prefix. [snakeyaml]- Parameters:
artifactsUriPrefix- the prefix with protocol, may be empty for none
-
getUploadFolder
Returns the folder containing uploaded artifacts.- Returns:
- the folder
-
setUploadFolder
Changes the folder containing uploaded artifacts. [snakeyaml]- Parameters:
uploadFolder- the folder
-