Class HttpHostHelper
- java.lang.Object
-
- io.wcm.devops.conga.plugins.aem.handlebars.helper.HttpHostHelper
-
- All Implemented Interfaces:
io.wcm.devops.conga.generator.spi.handlebars.HelperPlugin<Object>
,io.wcm.devops.conga.generator.spi.Plugin
public class HttpHostHelper extends Object implements io.wcm.devops.conga.generator.spi.handlebars.HelperPlugin<Object>
Handlebars helper that adds a port to the host when it is not the default one
-
-
Field Summary
Fields Modifier and Type Field Description static String
HASH_OPTION_PORT
Option for setting portstatic String
NAME
Plugin/Helper name
-
Constructor Summary
Constructors Constructor Description HttpHostHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
apply(Object context, com.github.jknack.handlebars.Options options, io.wcm.devops.conga.generator.spi.handlebars.context.HelperContext pluginContext)
String
getName()
-
-
-
Field Detail
-
NAME
public static final String NAME
Plugin/Helper name- See Also:
- Constant Field Values
-
HASH_OPTION_PORT
public static final String HASH_OPTION_PORT
Option for setting port- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceio.wcm.devops.conga.generator.spi.Plugin
-
apply
public Object apply(Object context, com.github.jknack.handlebars.Options options, io.wcm.devops.conga.generator.spi.handlebars.context.HelperContext pluginContext) throws IOException
- Specified by:
apply
in interfaceio.wcm.devops.conga.generator.spi.handlebars.HelperPlugin<Object>
- Throws:
IOException
-
-