Class AnsibleVaultUrlFilePlugin
- java.lang.Object
-
- io.wcm.devops.conga.plugins.ansible.urlfile.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 Summary
Constructors Constructor Description AnsibleVaultUrlFilePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accepts(String url, io.wcm.devops.conga.generator.spi.context.UrlFilePluginContext context)
InputStream
getFile(String url, io.wcm.devops.conga.generator.spi.context.UrlFilePluginContext context)
String
getFileName(String url, io.wcm.devops.conga.generator.spi.context.UrlFilePluginContext context)
String
getName()
-
-
-
Field Detail
-
NAME
public static final String NAME
Plugin name- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceio.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 interfaceio.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 interfaceio.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 interfaceio.wcm.devops.conga.generator.spi.UrlFilePlugin
- Throws:
IOException
-
-