Class CometTemplateUtils


  • public class CometTemplateUtils
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static CometTemplate getCometTemplate​(java.lang.String tenant, java.lang.String project, java.lang.String identifier)
      Method to get a Comet Template by identifier for a given tenant and project
      protected T getConfig​(java.lang.String configPath)  
      protected T getConfig​(java.lang.String configFolder, java.lang.String configName)  
      protected java.lang.Class<CometTemplate> getConfigClass()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCometTemplate

        public static CometTemplate getCometTemplate​(java.lang.String tenant,
                                                     java.lang.String project,
                                                     java.lang.String identifier)
                                              throws ConfigManagerException,
                                                     javax.xml.bind.JAXBException
        Method to get a Comet Template by identifier for a given tenant and project
        Parameters:
        tenant - tenant
        project - project
        identifier - Comet Template identifier
        Returns:
        CometTemplate
        Throws:
        ConfigManagerException
        javax.xml.bind.JAXBException
      • getConfigClass

        protected java.lang.Class<CometTemplate> getConfigClass()
      • getConfig

        protected T getConfig​(java.lang.String configFolder,
                              java.lang.String configName)
                       throws ConfigManagerException,
                              javax.xml.bind.JAXBException
        Throws:
        ConfigManagerException
        javax.xml.bind.JAXBException