Class DefaultLocation

  • All Implemented Interfaces:
    Location

    public class DefaultLocation
    extends AbstractLocation
    Default implementation of IssueLocation.

    For example, it can be used to designate the attribute of an object.

    Author:
    Damien Carbonne
    • Constructor Detail

      • DefaultLocation

        public DefaultLocation​(String targetId,
                               String path)
      • DefaultLocation

        public DefaultLocation​(String targetId)
    • Method Detail

      • getTargetId

        public String getTargetId()
        Returns:
        The identifier of the issue target.
        It is typically a file or a business object that has a user meaningful 'absolute' identifier.
        It can contain a path to the identified target.
      • getPath

        public String getPath()
        Returns:
        The path, relative to target, of the issue. It may be null.