Class QualifiedPathUtils
- java.lang.Object
-
- com.inductiveautomation.ignition.common.QualifiedPathUtils
-
public class QualifiedPathUtils extends java.lang.ObjectThis class provides utilities related toQualifiedPaths. Primarily it provides conversion to and from other path types, likeTagPath.
-
-
Constructor Summary
Constructors Constructor Description QualifiedPathUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static QualifiedPathfromHistoricalTagPath(TagPath path)Deprecated.static QualifiedPathfromHistoricalTagPathNew(TagPath path)static QualifiedPathfromTagPath(TagPath path)Deprecated.static QualifiedPathfromTagPathNew(TagPath path)static QualifiedPathparsePossibleTagpath(java.lang.String value)Deprecated.static QualifiedPathparsePossibleTagpathNew(java.lang.String value)This function parses an QualifiedPath, but if that fails, attempts to parse it as a tag path and convert it.static QualifiedPathtoPathFromHistoricalString(java.lang.String histPath)This is a transitional helper function which is the opposite of toStringFromHistoricalPath().static QualifiedPathtoPathFromHistoricalString(java.lang.String histPath, java.lang.String defaultHistProvider, java.lang.String defaultSystem, java.lang.String defaultProv)This is the opposite of toStringFromHistoricalPath.static java.lang.StringtoStringFromHistoricalPath(QualifiedPath path)This 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.
-
-
-
Method Detail
-
fromTagPath
@Deprecated public static QualifiedPath fromTagPath(TagPath path)
Deprecated.
-
fromHistoricalTagPath
@Deprecated public static QualifiedPath fromHistoricalTagPath(TagPath path)
Deprecated.
-
toTagPath
@Deprecated public static TagPath toTagPath(QualifiedPath path)
Deprecated.Attempts to create a tag path out of the provided qualified path. If no "prov" or "tag" component is found, returns null.
-
parsePossibleTagpath
@Deprecated public static QualifiedPath parsePossibleTagpath(java.lang.String value)
Deprecated.This function parses an QualifiedPath, but if that fails, attempts to parse it as a tag path and convert it.
-
toStringFromHistoricalPath
public static java.lang.String toStringFromHistoricalPath(QualifiedPath path)
This 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.
-
toPathFromHistoricalString
public static QualifiedPath toPathFromHistoricalString(java.lang.String histPath)
This 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.
-
toPathFromHistoricalString
public static QualifiedPath toPathFromHistoricalString(java.lang.String histPath, java.lang.String defaultHistProvider, java.lang.String defaultSystem, java.lang.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.
-
toTagPathNew
public static TagPath toTagPathNew(QualifiedPath path)
Attempts to create a tag path out of the provided qualified path. If no "prov" or "tag" component is found, returns null.
-
parsePossibleTagpathNew
public static QualifiedPath parsePossibleTagpathNew(java.lang.String value)
This function parses an QualifiedPath, but if that fails, attempts to parse it as a tag path and convert it.
-
fromTagPathNew
public static QualifiedPath fromTagPathNew(TagPath path)
-
fromHistoricalTagPathNew
public static QualifiedPath fromHistoricalTagPathNew(TagPath path)
-
-