Interface ReproducibleResourceTransformer

All Superinterfaces:
ResourceTransformer
All Known Implementing Classes:
ApacheLicenseResourceTransformer, ApacheNoticeResourceTransformer, AppendingTransformer, ComponentsXmlResourceTransformer, DontIncludeResourceTransformer, GroovyResourceTransformer, IncludeResourceTransformer, ManifestResourceTransformer, MicroprofileConfigTransformer, OpenWebBeansPropertiesTransformer, PluginXmlResourceTransformer, PropertiesTransformer, ResourceBundleAppendingTransformer, ServicesResourceTransformer, SisuIndexResourceTransformer, XmlAppendingTransformer

public interface ReproducibleResourceTransformer extends ResourceTransformer
Transform resource ensuring reproducible output: that requires to get the timestamp of the initial resources to define in a reproducible way the timestamp of the transformed resource.
Since:
3.2.4
Author:
Hervé Boutemy
  • Method Details

    • processResource

      void processResource(String resource, InputStream is, List<Relocator> relocators, long time) throws IOException
      Transform an individual resource
      Parameters:
      resource - The resource name
      is - An input stream for the resource, the implementation should *not* close this stream
      relocators - A list of relocators
      time - the time of the resource to process
      Throws:
      IOException - When the IO blows up