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 IExtendedLocation
getExtendedLocation
(ILocation location, String position, String branch) Returns originalILocation
instance.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:IExtendedLocation
Returns the position in the resource to focus on. (For example the line number.)- Specified by:
getPosition
in interfaceIExtendedLocation
- Returns:
- the position string in the file.
-
getBranch
Description copied from interface:IExtendedLocation
Returns the repository branch where the resource resides.- Specified by:
getBranch
in interfaceIExtendedLocation
- Returns:
- the repository branch's string.
-
getLocation
Description copied from interface:IExtendedLocation
Returns originalILocation
instance.- Specified by:
getLocation
in interfaceIExtendedLocation
- Returns:
- original
ILocation
instance. - See Also:
-