public class TemplateStepLanguage extends Object
TemplateStepPreProcessor implementation defined
for use by the template step handler and project generator.| Modifier and Type | Class and Description |
|---|---|
static class |
TemplateStepLanguage.SymbolSyntax
The syntax of a template step language
|
| Modifier and Type | Field and Description |
|---|---|
static TemplateStepLanguage |
FREEMARKER |
static String |
LANGUAGE_PROPERTY |
static TemplateStepLanguage |
MUSTACHE |
static TemplateStepLanguage |
VELOCITY |
| Modifier and Type | Method and Description |
|---|---|
String |
camelHeader() |
String |
generateUri(String id) |
TemplateStepLanguage.SymbolSyntax |
getDefaultSymbolSyntax() |
List<TemplateStepLanguage.SymbolSyntax> |
getSymbolSyntaxes() |
Map<String,Object> |
getUriParams() |
boolean |
isSymbol(String symbol) |
String |
mavenDependency() |
String |
name() |
String |
preProcess(String template) |
static TemplateStepLanguage |
stepLanguage(String language) |
String |
toString() |
static Flow |
updateFlow(Flow flow)
Update the flow by visiting its
Steps |
static Integration |
updateIntegration(Integration integration)
|
static Step |
updateStep(Step step)
Update the template step
Step with required dependencies |
static Collection<TemplateStepLanguage> |
values() |
public static final String LANGUAGE_PROPERTY
public static final TemplateStepLanguage MUSTACHE
public static final TemplateStepLanguage VELOCITY
public static final TemplateStepLanguage FREEMARKER
public String name()
public String mavenDependency()
public String camelHeader()
public String preProcess(String template) throws TemplateProcessingException
TemplateProcessingExceptionpublic List<TemplateStepLanguage.SymbolSyntax> getSymbolSyntaxes()
public TemplateStepLanguage.SymbolSyntax getDefaultSymbolSyntax()
public boolean isSymbol(String symbol)
public static Collection<TemplateStepLanguage> values()
public static TemplateStepLanguage stepLanguage(String language)
public static Integration updateIntegration(Integration integration)
integration - the integrationpublic static Flow updateFlow(Flow flow)
Stepsflow - the flowCopyright © 2016–2019 Red Hat. All rights reserved.