Class StorageFactory


  • public class StorageFactory
    extends java.lang.Object
    Factory for global artifact storages. To be used to upload automatically generated application artifacts and container images.
    Author:
    Holger Eichelberger, SSE
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static de.iip_ecosphere.platform.deviceMgt.storage.Storage containerImageStorage  
      private static de.iip_ecosphere.platform.deviceMgt.storage.Storage serviceArtifactStorage  
    • Constructor Summary

      Constructors 
      Constructor Description
      StorageFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static de.iip_ecosphere.platform.deviceMgt.storage.Storage createContainerImageStorage()
      Returns the container image storage instance.
      static de.iip_ecosphere.platform.deviceMgt.storage.Storage createServiceArtifactStorage()
      Returns the service artifact storage instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • serviceArtifactStorage

        private static de.iip_ecosphere.platform.deviceMgt.storage.Storage serviceArtifactStorage
      • containerImageStorage

        private static de.iip_ecosphere.platform.deviceMgt.storage.Storage containerImageStorage
    • Constructor Detail

      • StorageFactory

        public StorageFactory()
    • Method Detail

      • createServiceArtifactStorage

        public static de.iip_ecosphere.platform.deviceMgt.storage.Storage createServiceArtifactStorage()
        Returns the service artifact storage instance.
        Returns:
        the storage, may be null if no setup for the storage is known
      • createContainerImageStorage

        public static de.iip_ecosphere.platform.deviceMgt.storage.Storage createContainerImageStorage()
        Returns the container image storage instance.
        Returns:
        the storage, may be null if no setup for the storage is known