net.praqma.hudson.nametemplates
Class NameTemplate

java.lang.Object
  extended by net.praqma.hudson.nametemplates.NameTemplate

public class NameTemplate
extends Object


Constructor Summary
NameTemplate()
           
 
Method Summary
static HashMap<String,String> getChosenTemplates(String templatestring)
          Method that extracts the names of the chose templates.
static String parseTemplate(String template, CCUCMBuildAction action, hudson.FilePath ws)
          At this point.
static boolean 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)
          This is the method we use to validate templates.
static void validateTemplates(CCUCMBuildAction action, hudson.FilePath ws)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameTemplate

public NameTemplate()
Method Detail

validateTemplates

public static void validateTemplates(CCUCMBuildAction action)
This is the method we use to validate templates.

Parameters:
action -

validateTemplates

public static void validateTemplates(CCUCMBuildAction action,
                                     hudson.FilePath ws)

trim

public static String trim(String template)

getChosenTemplates

public static HashMap<String,String> getChosenTemplates(String templatestring)
Method that extracts the names of the chose templates.

Parameters:
templatestring -
Returns:
a Set containing the name of the templates chosen.

testTemplate

public static boolean testTemplate(String template)
                            throws TemplateException
Checks to see if the templates are valid, and that the template names are available.

Parameters:
template -
Returns:
Throws:
TemplateException

parseTemplate

public static String parseTemplate(String template,
                                   CCUCMBuildAction action,
                                   hudson.FilePath ws)
                            throws TemplateException
At this point. We do not need to filter chosen templates.

Parameters:
template -
action -
ws -
Returns:
Throws:
TemplateException


Copyright © 2004-2015. All Rights Reserved.