Interface ExternalResourceConflictResolutionStrategy


public interface ExternalResourceConflictResolutionStrategy
Might be used by provider service in order to decide if an available resource should be acquired from the external provider.
  • Method Details

    • shouldBeFetched

      boolean shouldBeFetched(File targetDirectory, ExternalResourceDescriptor available)
      Parameters:
      targetDirectory - The target directory.
      available - Descriptor of the available resource.
      Returns:
      Returns true if the resource should be fetched from the provider. Returns false otherwise.