Class PlaceholderUtils


  • public class PlaceholderUtils
    extends java.lang.Object
    Utils helpful for dealing with the Comet Placeholders.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected T getConfig​(java.lang.String configPath)  
      protected T getConfig​(java.lang.String configFolder, java.lang.String configName)  
      protected java.lang.Class<CometPlaceholder> getConfigClass()  
      static CometPlaceholder getPlaceholder​(java.lang.String tenant, java.lang.String project, int placeholderId)
      This method get the Comet Placeholder by placeholderID for a given project and tenant.
      • Methods inherited from class java.lang.Object

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

      • getPlaceholder

        public static CometPlaceholder getPlaceholder​(java.lang.String tenant,
                                                      java.lang.String project,
                                                      int placeholderId)
                                               throws ConfigManagerException,
                                                      javax.xml.bind.JAXBException
        This method get the Comet Placeholder by placeholderID for a given project and tenant.
        Parameters:
        tenant - tenant
        project - project
        placeholderId - ID of the placeholder
        Returns:
        CometPlaceholder
        Throws:
        ConfigManagerException
        javax.xml.bind.JAXBException
      • getConfig

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