Class CmIdentifierUtil
- java.lang.Object
-
- org.opennms.features.config.osgi.cm.CmIdentifierUtil
-
public class CmIdentifierUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description CmIdentifierUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
cmIdentifierToPid(ConfigUpdateInfo identifier)
static ConfigUpdateInfo
pidToCmIdentifier(String pid)
The delimiter between configName and configId is a dash (-).
-
-
-
Method Detail
-
pidToCmIdentifier
public static ConfigUpdateInfo pidToCmIdentifier(String pid)
The delimiter between configName and configId is a dash (-). However, there is no guarantee that the configName or the configId doesn't contain a dash as well. Therefore, we have to check against the PIDS_MULTI_INSTANCE.
-
cmIdentifierToPid
public static String cmIdentifierToPid(ConfigUpdateInfo identifier)
-
-