Class SourceAlteredTagPath

java.lang.Object
com.inductiveautomation.ignition.common.tags.paths.AbstractTagPath
com.inductiveautomation.ignition.common.tags.paths.SourceAlteredTagPath
All Implemented Interfaces:
Path, TagPath, Serializable, Comparable<TagPath>

public class SourceAlteredTagPath extends AbstractTagPath
A tag path that delegates to another tag path, but alters the source.
See Also:
  • Constructor Details

    • SourceAlteredTagPath

      public SourceAlteredTagPath(TagPath path, String source)
  • Method Details

    • getChildPath

      public TagPath getChildPath(String nextId)
      Description copied from interface: TagPath
      Returns a path below the current path.
    • getItemName

      public String getItemName()
      Description copied from interface: TagPath
      Returns the name of the item at the end of the path that this path points to. This will be a tag name or a folder name.
    • getLastPathComponent

      public String getLastPathComponent()
      Description copied from interface: Path
      Convenience function to return the last path element.
    • getParentPath

      public TagPath getParentPath()
      Description copied from interface: TagPath
      Returns the path to this tag's parent folder
    • getPathComponent

      public String getPathComponent(int i)
      Description copied from interface: Path
      Returns the path element at the specified location.
    • getPathLength

      public int getPathLength()
      Description copied from interface: Path
      Returns the number of elements in the path, which can be retrieved through getPathComponent().
    • getProperty

      public Property<?> getProperty()
      Description copied from interface: TagPath
      Returns the type of property in the tag that this path is referencing.
    • getSource

      public String getSource()
      Description copied from interface: TagPath
      Returns the source for this tag path. Some tag paths don't have a source, indicating that they may be a relative, or they may wish to use a default source.
    • getBasePath

      public TagPath getBasePath()