Class AnsibleVaultUrlFilePlugin

  • All Implemented Interfaces:
    io.wcm.devops.conga.generator.spi.Plugin, io.wcm.devops.conga.generator.spi.UrlFilePlugin

    public class AnsibleVaultUrlFilePlugin
    extends Object
    implements io.wcm.devops.conga.generator.spi.UrlFilePlugin
    Decrypts a file encrypted with Ansible Vault. Can be combined with other URL file plugins.
    • Constructor Detail

      • AnsibleVaultUrlFilePlugin

        public AnsibleVaultUrlFilePlugin()
    • Method Detail

      • getName

        public String getName()
        Specified by:
        getName in interface io.wcm.devops.conga.generator.spi.Plugin
      • accepts

        public boolean accepts​(String url,
                               io.wcm.devops.conga.generator.spi.context.UrlFilePluginContext context)
        Specified by:
        accepts in interface io.wcm.devops.conga.generator.spi.UrlFilePlugin
      • getFileName

        public String getFileName​(String url,
                                  io.wcm.devops.conga.generator.spi.context.UrlFilePluginContext context)
                           throws IOException
        Specified by:
        getFileName in interface io.wcm.devops.conga.generator.spi.UrlFilePlugin
        Throws:
        IOException
      • getFile

        public InputStream getFile​(String url,
                                   io.wcm.devops.conga.generator.spi.context.UrlFilePluginContext context)
                            throws IOException
        Specified by:
        getFile in interface io.wcm.devops.conga.generator.spi.UrlFilePlugin
        Throws:
        IOException