Package com.priint.pubserver.util
Class PlaceholderUtils
java.lang.Object
com.priint.pubserver.util.PlaceholderUtils
Utils helpful for dealing with the Comet Placeholders.
-
Method Summary
Modifier and TypeMethodDescriptionprotected CometPlaceholderprotected CometPlaceholderprotected Class<CometPlaceholder>static CometPlaceholdergetPlaceholder(String tenant, String project, int placeholderId) This method get the Comet Placeholder by placeholderID for a given project and tenant.
-
Method Details
-
getPlaceholder
public static CometPlaceholder getPlaceholder(String tenant, String project, int placeholderId) throws ConfigManagerException, jakarta.xml.bind.JAXBException This method get the Comet Placeholder by placeholderID for a given project and tenant.- Parameters:
tenant- tenantproject- projectplaceholderId- ID of the placeholder- Returns:
- CometPlaceholder
- Throws:
ConfigManagerExceptionjakarta.xml.bind.JAXBException
-
getConfigClass
-
getConfig
protected CometPlaceholder getConfig(String configFolder, String configName) throws ConfigManagerException, jakarta.xml.bind.JAXBException - Throws:
ConfigManagerExceptionjakarta.xml.bind.JAXBException
-
getConfig
protected CometPlaceholder getConfig(String configPath) throws ConfigManagerException, jakarta.xml.bind.JAXBException - Throws:
ConfigManagerExceptionjakarta.xml.bind.JAXBException
-