public class NameTemplate extends Object
| Constructor and Description |
|---|
NameTemplate() |
| Modifier and Type | Method and Description |
|---|---|
static HashMap<String,String> |
getChosenTemplates(String templatestring)
Method that extracts the names of the chose templates.
|
static String |
parseTemplate(String template,
CCUCMBuildAction action,
FilePath ws)
At this point.
|
static void |
testTemplate(String template)
Checks to see if the templates are valid, and that the template names are available.
|
static String |
trim(String template) |
static void |
validateTemplates(CCUCMBuildAction action) |
static void |
validateTemplates(CCUCMBuildAction action,
FilePath ws) |
public static void validateTemplates(CCUCMBuildAction action)
public static void validateTemplates(CCUCMBuildAction action, FilePath ws)
public static HashMap<String,String> getChosenTemplates(String templatestring)
templatestring - The string to get the Templates that needs to be appliedpublic static void testTemplate(String template) throws TemplateException
template - The template to test.TemplateException - Thrown when there is an error in the chosen templatepublic static String parseTemplate(String template, CCUCMBuildAction action, FilePath ws) throws TemplateException
template - The string template. To be parsedaction - Current actionws - Current workspaceTemplateException - Thrown when the template cannot be parsedCopyright © 2016–2022. All rights reserved.