Class Inject


  • public class Inject
    extends Object
    Maven configuration object for modelling the content files and the ID placeholders for destination file, where the content files will be injected.
    Since:
    12.0.0
    • Constructor Detail

      • Inject

        public Inject()
    • Method Detail

      • getContents

        public List<Content> getContents()
        Gets the contents that will be injected into the destination file.
        Returns:
        The contents.
      • setContents

        public void setContents​(List<Content> contents)
        Sets the contents that will be injected into the destination file.
        Parameters:
        contents - The contents.
      • getDestinationFile

        public File getDestinationFile()
        Gets the destination file.
        Returns:
        The destination file.
      • setDestinationFile

        public void setDestinationFile​(File destinationFile)
        Sets the destination file.
        Parameters:
        destinationFile - The destination file.
      • getContentConverter

        public String getContentConverter()

        Gets the name of the ContentConverter to use when injecting content into the destination file.

        Returns:
        The content converter name.
      • setContentConverter

        public void setContentConverter​(String contentConverter)

        Sets the name of the ContentConverter to use when injecting content into the destination file.

        Optional, defaults to "none".

        Parameters:
        contentConverter - The content converter name.