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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic QualifiedPathfromHistoricalTagPath(TagPath path) Deprecated.static QualifiedPathstatic QualifiedPathfromTagPath(TagPath path) Deprecated.static QualifiedPathfromTagPathNew(TagPath path) static booleanstatic 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 QualifiedPathsystemSchemaFromDriverSchema(String driverSchemaData, Supplier<String> systemNameSupplier, String defaultProvider) static QualifiedPathstatic QualifiedPathtoPathFromHistoricalString(String histPath) This is a transitional helper function which is the opposite of toStringFromHistoricalPath().static QualifiedPathtoPathFromHistoricalString(String historicalPath, String defaultHistoryProvider, String defaultSystem, String defaultTagProvider) This is the opposite of toStringFromHistoricalPath.static QualifiedPathtoPathFromStringPath(String stringPath, String defaultHistoryProvider, String defaultSystem, String defaultTagProvider, boolean isHistoricalPathSyntax) static QualifiedPathtoPathFromTagString(String tagPath, String defaultHistoryProvider, String defaultSystem, String defaultTagProvider) 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
-
QualifiedPathUtils
public QualifiedPathUtils()
-
-
Method Details
-
fromTagPath
Deprecated. -
fromHistoricalTagPath
Deprecated. -
toTagPath
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.This function parses an QualifiedPath, but if that fails, attempts to parse it as a tag path and convert it. -
toStringFromHistoricalPath
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
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(String historicalPath, String defaultHistoryProvider, String defaultSystem, String defaultTagProvider) 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. -
toPathFromTagString
public static QualifiedPath toPathFromTagString(String tagPath, String defaultHistoryProvider, String defaultSystem, String defaultTagProvider) -
toPathFromStringPath
public static QualifiedPath toPathFromStringPath(String stringPath, String defaultHistoryProvider, String defaultSystem, String defaultTagProvider, boolean isHistoricalPathSyntax) -
toTagPathNew
Attempts to create a tag path out of the provided qualified path. If no "prov" or "tag" component is found, returns null. -
parsePossibleTagpathNew
This function parses an QualifiedPath, but if that fails, attempts to parse it as a tag path and convert it. -
fromTagPathNew
-
fromHistoricalTagPathNew
-
isQualifiedHistorianProviderPath
-
systemSchemaFromDriverSchema
public static QualifiedPath systemSchemaFromDriverSchema(String driverSchemaData, Supplier<String> systemNameSupplier, String defaultProvider) -
isModerHistorianPath
-
toModernHistoricalPath
-