public class InputValidator extends Object
| Constructor and Description |
|---|
InputValidator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
validateIncrementInputs(List<com.devonfw.cobigen.api.to.IncrementTo> increments,
List<String> templateIdsToBeGenerated)
Validates, whether all declared increments could be found in the attached configuration list
|
static void |
validateTemplateInputs(List<com.devonfw.cobigen.api.to.TemplateTo> templates,
List<String> templateIdsToBeGenerated)
Validates, whether all declared templates could be found in the attached configuration list
|
public static void validateTemplateInputs(List<com.devonfw.cobigen.api.to.TemplateTo> templates, List<String> templateIdsToBeGenerated) throws org.apache.maven.plugin.MojoExecutionException
templates - available templates in the configurationtemplateIdsToBeGenerated - requested templatesorg.apache.maven.plugin.MojoExecutionException - if one of the requested templates could not be found in configurationpublic static void validateIncrementInputs(List<com.devonfw.cobigen.api.to.IncrementTo> increments, List<String> templateIdsToBeGenerated) throws org.apache.maven.plugin.MojoExecutionException
increments - available increments in the configurationtemplateIdsToBeGenerated - requested incrementsorg.apache.maven.plugin.MojoExecutionException - if one of the requested increments could not be found in the configurationCopyright © 2018 DevonFw. All rights reserved.