Class AwsS3LocationHandler

java.lang.Object
org.flywaydb.locations.s3.AwsS3LocationHandler
All Implemented Interfaces:
Comparable<org.flywaydb.core.extensibility.Plugin>, org.flywaydb.core.extensibility.Plugin, org.flywaydb.core.internal.scanner.ReadOnlyLocationHandler, org.flywaydb.core.internal.scanner.ReadWriteLocationHandler

public class AwsS3LocationHandler extends Object implements org.flywaydb.core.internal.scanner.ReadWriteLocationHandler
  • Field Details

  • Constructor Details

    • AwsS3LocationHandler

      public AwsS3LocationHandler()
  • Method Details

    • scanForResources

      public Collection<org.flywaydb.core.api.resource.LoadableResource> scanForResources(org.flywaydb.core.api.Location location, org.flywaydb.core.api.configuration.Configuration configuration)
      Specified by:
      scanForResources in interface org.flywaydb.core.internal.scanner.ReadOnlyLocationHandler
    • getResource

      public Optional<org.flywaydb.core.api.resource.LoadableResource> getResource(org.flywaydb.core.api.Location location, org.flywaydb.core.api.configuration.Configuration configuration)
      Specified by:
      getResource in interface org.flywaydb.core.internal.scanner.ReadOnlyLocationHandler
    • handlesWildcards

      public boolean handlesWildcards()
      Specified by:
      handlesWildcards in interface org.flywaydb.core.internal.scanner.ReadOnlyLocationHandler
    • getPathSeparator

      public String getPathSeparator()
      Specified by:
      getPathSeparator in interface org.flywaydb.core.internal.scanner.ReadOnlyLocationHandler
    • normalizePath

      public String normalizePath(String path)
      Specified by:
      normalizePath in interface org.flywaydb.core.internal.scanner.ReadOnlyLocationHandler
    • getOutputStream

      public OutputStream getOutputStream(org.flywaydb.core.api.Location fileLocation, org.flywaydb.core.api.configuration.Configuration configuration)
      Specified by:
      getOutputStream in interface org.flywaydb.core.internal.scanner.ReadWriteLocationHandler
    • getPrefix

      public String getPrefix()
      Specified by:
      getPrefix in interface org.flywaydb.core.internal.scanner.ReadOnlyLocationHandler