Class ExtendedLocation
java.lang.Object
com.polarion.subterra.base.location.ExtendedLocation
- All Implemented Interfaces:
IExtendedLocation
- Since:
- 3.17.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the repository branch where the resource resides.static IExtendedLocationgetExtendedLocation(ILocation location, String position, String branch) Returns originalILocationinstance.Returns the position in the resource to focus on.
-
Method Details
-
getExtendedLocation
@NotNull public static IExtendedLocation getExtendedLocation(@NotNull ILocation location, @Nullable String position, @Nullable String branch) -
getPosition
Description copied from interface:IExtendedLocationReturns the position in the resource to focus on. (For example the line number.)- Specified by:
getPositionin interfaceIExtendedLocation- Returns:
- the position string in the file.
-
getBranch
Description copied from interface:IExtendedLocationReturns the repository branch where the resource resides.- Specified by:
getBranchin interfaceIExtendedLocation- Returns:
- the repository branch's string.
-
getLocation
Description copied from interface:IExtendedLocationReturns originalILocationinstance.- Specified by:
getLocationin interfaceIExtendedLocation- Returns:
- original
ILocationinstance. - See Also:
-