Class DefaultRepositorySystemSession.NullFileTransformerManager

    • Constructor Detail

      • NullFileTransformerManager

        NullFileTransformerManager()
    • Method Detail

      • getTransformersForArtifact

        public java.util.Collection<FileTransformer> getTransformersForArtifact​(Artifact artifact)
        Description copied from interface: FileTransformerManager

        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!

        Specified by:
        getTransformersForArtifact in interface FileTransformerManager
        Parameters:
        artifact - the artifact
        Returns:
        a collection of FileTransformers to apply on the artifact, never null