Interface FileTransformer


  • public interface FileTransformer
    Can transform a file while installing/deploying
    Since:
    1.3.0
    Author:
    Robert Scholte
    • Method Detail

      • transformArtifact

        Artifact transformArtifact​(Artifact artifact)
        Transform the target location
        Parameters:
        artifact - the original artifact
        Returns:
        the transformed artifact
      • transformData

        java.io.InputStream transformData​(java.io.File file)
                                   throws java.io.IOException
        Transform the data
        Parameters:
        file - the file with the original data
        Returns:
        the transformed data
        Throws:
        java.io.IOException