Interface ArtifactManager

All Superinterfaces:
Service
All Known Implementing Classes:
DefaultArtifactManager

@Experimental public interface ArtifactManager extends Service
Since:
4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    getPath(Artifact artifact)
    Returns the path of the file previously associated to this artifact or Optional.empty() if no path has been associated.
    void
    setPath(Artifact artifact, Path path)
    Associates the given file path to the artifact.
  • Method Details

    • getPath

      @Nonnull Optional<Path> getPath(@Nonnull Artifact artifact)
      Returns the path of the file previously associated to this artifact or Optional.empty() if no path has been associated.
    • setPath

      void setPath(@Nonnull Artifact artifact, Path path)
      Associates the given file path to the artifact.