Class QualifiedPathUtils
java.lang.Object
com.inductiveautomation.ignition.common.QualifiedPathUtils
This class provides utilities related to 
QualifiedPaths. Primarily it provides conversion to and from other
 path types, like TagPath.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic QualifiedPathfromHistoricalTagPath(TagPath path) Deprecated.static QualifiedPathstatic QualifiedPathfromTagPath(TagPath path) Deprecated.static QualifiedPathfromTagPathNew(TagPath path) static booleanstatic QualifiedPathparsePossibleTagpath(String value) Deprecated.static QualifiedPathparsePossibleTagpathNew(String value) This function parses an QualifiedPath, but if that fails, attempts to parse it as a tag path and convert it.static QualifiedPathtoPathFromHistoricalString(String histPath) This is a transitional helper function which is the opposite of toStringFromHistoricalPath().static QualifiedPathtoPathFromHistoricalString(String histPath, String defaultHistProvider, String defaultSystem, String defaultProv) This is the opposite of toStringFromHistoricalPath.static StringThis is a helper function, as we transition to qualifiedpaths, to convert from a path indicating a historical path to a string, for display and edit.static TagPathtoTagPath(QualifiedPath path) Deprecated.static TagPathtoTagPathNew(QualifiedPath path) Attempts to create a tag path out of the provided qualified path.
- 
Constructor Details- 
QualifiedPathUtilspublic QualifiedPathUtils()
 
- 
- 
Method Details- 
fromTagPathDeprecated.
- 
fromHistoricalTagPathDeprecated.
- 
toTagPathDeprecated.Attempts to create a tag path out of the provided qualified path. If no "prov" or "tag" component is found, returns null.
- 
parsePossibleTagpathDeprecated.This function parses an QualifiedPath, but if that fails, attempts to parse it as a tag path and convert it.
- 
toStringFromHistoricalPathThis is a helper function, as we transition to qualifiedpaths, to convert from a path indicating a historical path to a string, for display and edit. It renders strings in the form of: [histprov/drv]tag if it's a historical tag path, or returns the qualified path.
- 
toPathFromHistoricalStringThis is a transitional helper function which is the opposite of toStringFromHistoricalPath(). It takes a historical path, rendered as a string, and reconstitutes it into a QualifiedPath.
- 
toPathFromHistoricalStringpublic static QualifiedPath toPathFromHistoricalString(String histPath, String defaultHistProvider, String defaultSystem, String defaultProv) This is the opposite of toStringFromHistoricalPath. It takes a string, which usually represents a tag path, and turns it into a qualifiedpath that can be used to query history. It has support for replacing default values for history provider, system, and tag provider.
- 
toTagPathNewAttempts to create a tag path out of the provided qualified path. If no "prov" or "tag" component is found, returns null.
- 
parsePossibleTagpathNewThis function parses an QualifiedPath, but if that fails, attempts to parse it as a tag path and convert it.
- 
fromTagPathNew
- 
fromHistoricalTagPathNew
- 
isQualifiedHistorianProviderPath
 
-