Interface IFileArtifactRepository

All Superinterfaces:
IAdaptable, IArtifactRepository, IQueryable<IArtifactKey>, IRepository<IArtifactKey>

public interface IFileArtifactRepository extends IArtifactRepository
An artifact repository whose artifacts are available in the local file system.
Since:
2.0
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.
  • Method Details

    • getArtifactFile

      File getArtifactFile(IArtifactKey key)
      Return the location of the full local file corresponding to the given artifact key to the given key, or null if not available.
      Parameters:
      key - the artifact key for the file to be returned
      Returns:
      the location of the requested artifact ornull if not available
    • getArtifactFile

      File getArtifactFile(IArtifactDescriptor descriptor)
      Return the location of the local file corresponding to the given artifact descriptor, or null if not available.
      Parameters:
      descriptor - the artifact descriptor for the file to be returned
      Returns:
      the location of the requested descriptor ornull if not available