public interface IPlatformSpecificTrace<PlatformResource,Location extends IPlatformSpecificLocation<? extends PlatformResource>> extends ITrace
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends Location> |
getAllAssociatedLocations()
Returns all known associated
locations. |
Iterable<? extends Location> |
getAllAssociatedLocations(AbsoluteURI uri)
Returns all known
locations that were produced from the associated resource in the
given absoluteTargetResource. |
Iterable<? extends Location> |
getAllAssociatedLocations(ITextRegion localRegion)
Returns all associated
locations that match the given region. |
Iterable<? extends Location> |
getAllAssociatedLocations(ITextRegion localRegion,
AbsoluteURI uri)
Returns all individual
locations that match the given localRegion
for the expected absoluteTargetResource. |
Iterable<? extends Location> |
getAllAssociatedLocations(ITextRegion localRegion,
PlatformResource associatedStorage)
|
Iterable<? extends Location> |
getAllAssociatedLocations(PlatformResource associatedStorage)
Returns all known
locations that were produced from the associated resource
in the given targetResource. |
Location |
getBestAssociatedLocation(ITextRegion localRegion)
Returns the best associated
location that matches the given region. |
Location |
getBestAssociatedLocation(ITextRegion localRegion,
AbsoluteURI uri)
|
Location |
getBestAssociatedLocation(ITextRegion localRegion,
PlatformResource associatedStorage)
|
PlatformResource |
getLocalStorage()
Returns the storage that is associated with this trace.
|
getLocalLanguage, getLocalProjectConfig, getLocalURI, getSrcRelativeLocalURI, hasTraceDataPlatformResource getLocalStorage()
null.Location getBestAssociatedLocation(ITextRegion localRegion, PlatformResource associatedStorage)
location that matches the given
sourceRegion in the targetResource.
If the region does not match a single location in the target, the following strategy applies:
targetResource
is returned.
sourceRegion does not yield
a location in targetResource, returns null.localRegion - the region in the current resource. May not be null.associatedStorage - the expected target resource. May not be null.null if none.Iterable<? extends Location> getAllAssociatedLocations(ITextRegion localRegion, PlatformResource associatedStorage)
localRegion - the region in the current resource. May not be null.associatedStorage - the expected target resource. May not be null.null.Iterable<? extends Location> getAllAssociatedLocations(PlatformResource associatedStorage)
locations that were produced from the associated resource
in the given targetResource.associatedStorage - the expected target resource. May not be null.null.Location getBestAssociatedLocation(ITextRegion localRegion)
ITracelocation that matches the given region.
If the region does not match a single location, the following strategy applies:
null is returned.
null.getBestAssociatedLocation in interface ITracelocalRegion - the region in the current resource. May not be null.null if none.Iterable<? extends Location> getAllAssociatedLocations(ITextRegion localRegion)
ITracelocations that match the given region.getAllAssociatedLocations in interface ITracelocalRegion - the region in the current resource. May not be null.null.Iterable<? extends Location> getAllAssociatedLocations()
ITracelocations.getAllAssociatedLocations in interface ITracenull.Location getBestAssociatedLocation(ITextRegion localRegion, AbsoluteURI uri)
ITracelocation that matches the given
localRegion in the absoluteTargetResource.
If the region does not match a single location in the target, the following strategy applies:
targetResource
is returned.
localRegion does not yield
a location in absoluteTargetResource, returns null.getBestAssociatedLocation in interface ITracelocalRegion - the region in the current resource. May not be null.uri - the expected target resource. May not be null.null if none.Iterable<? extends Location> getAllAssociatedLocations(ITextRegion localRegion, AbsoluteURI uri)
ITracelocations that match the given localRegion
for the expected absoluteTargetResource.getAllAssociatedLocations in interface ITracelocalRegion - the region in the current resource. May not be null.uri - the expected target resource. May not be null.null.Iterable<? extends Location> getAllAssociatedLocations(AbsoluteURI uri)
ITracelocations that were produced from the associated resource in the
given absoluteTargetResource.getAllAssociatedLocations in interface ITraceuri - the expected target resource. May not be null.null.Copyright © 2015. All Rights Reserved.