Interface FileTransformerManager

All Known Implementing Classes:
DefaultRepositorySystemSession.NullFileTransformerManager

public interface FileTransformerManager
Manager the FileTransformers
Since:
1.3.0
  • Method Details

    • getTransformersForArtifact

      Collection<FileTransformer> getTransformersForArtifact(Artifact artifact)

      All transformers for this specific artifact. Be aware that if you want to create additional files, but also want to the original to be deployed, you must add an explicit transformer for that file too (one that doesn't transform the artifact and data).

      IMPORTANT When using a fileTransformer, the content of the file is stored in memory to ensure that file content and checksums stay in sync!

      Parameters:
      artifact - the artifact
      Returns:
      a collection of FileTransformers to apply on the artifact, never null