Class NoTraces<PlatformResource,Trace extends IPlatformSpecificTrace<PlatformResource,?>>
- java.lang.Object
-
- org.eclipse.xtext.generator.trace.internal.NoTraces<PlatformResource,Trace>
-
- All Implemented Interfaces:
IPlatformSpecificTraceProvider<PlatformResource,Trace>,ITraceForURIProvider
public class NoTraces<PlatformResource,Trace extends IPlatformSpecificTrace<PlatformResource,?>> extends java.lang.Object implements IPlatformSpecificTraceProvider<PlatformResource,Trace>
Abstract null implementation for platform specific enhancements to the trace API.
-
-
Constructor Summary
Constructors Constructor Description NoTraces()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TracegetTraceToSource(AbsoluteURI absoluteDerivedResource, IProjectConfig project)Returns the trace information to the sources that were used as input for the given derived resource.TracegetTraceToSource(SourceRelativeURI srcRelativeDerivedResource, IProjectConfig project)Returns the trace information to the sources that were used as input for the given derived resource.TracegetTraceToSource(PlatformResource derivedResource)Returns the trace information to the sources that were used as input for the given derived resource.TracegetTraceToTarget(AbsoluteURI absoluteSourceResource, IProjectConfig project)Returns the trace information to the targets that were generated from the given source.TracegetTraceToTarget(SourceRelativeURI srcRelativeSourceResource, IProjectConfig project)Returns the trace information to the targets that were generated from the given source.TracegetTraceToTarget(PlatformResource sourceResource)Returns the trace information to the targets that were generated from the given source.
-
-
-
Method Detail
-
getTraceToSource
public Trace getTraceToSource(PlatformResource derivedResource)
Description copied from interface:IPlatformSpecificTraceProviderReturns the trace information to the sources that were used as input for the given derived resource. May returnnullif no such data is available for the given storage.- Specified by:
getTraceToSourcein interfaceIPlatformSpecificTraceProvider<PlatformResource,Trace extends IPlatformSpecificTrace<PlatformResource,?>>- Parameters:
derivedResource- the resource whose source trace is requested. May not benull.- Returns:
- the trace to the source or
null.
-
getTraceToTarget
public Trace getTraceToTarget(PlatformResource sourceResource)
Description copied from interface:IPlatformSpecificTraceProviderReturns the trace information to the targets that were generated from the given source. May returnnullif no such data is available for the given storage.- Specified by:
getTraceToTargetin interfaceIPlatformSpecificTraceProvider<PlatformResource,Trace extends IPlatformSpecificTrace<PlatformResource,?>>- Parameters:
sourceResource- the resource whose target trace is requested. May not benull.- Returns:
- the trace to the generation targets or
null.
-
getTraceToSource
public Trace getTraceToSource(AbsoluteURI absoluteDerivedResource, IProjectConfig project)
Description copied from interface:ITraceForURIProviderReturns the trace information to the sources that were used as input for the given derived resource. May returnnullif no such data is available for the given storage.- Specified by:
getTraceToSourcein interfaceIPlatformSpecificTraceProvider<PlatformResource,Trace extends IPlatformSpecificTrace<PlatformResource,?>>- Specified by:
getTraceToSourcein interfaceITraceForURIProvider- Parameters:
absoluteDerivedResource- the resource whose source trace is requested. May not benull.project- the project that contains the derived resource. May not benull.- Returns:
- the trace to the source or
null.
-
getTraceToSource
public Trace getTraceToSource(SourceRelativeURI srcRelativeDerivedResource, IProjectConfig project)
Description copied from interface:ITraceForURIProviderReturns the trace information to the sources that were used as input for the given derived resource. May returnnullif no such data is available for the given storage.- Specified by:
getTraceToSourcein interfaceIPlatformSpecificTraceProvider<PlatformResource,Trace extends IPlatformSpecificTrace<PlatformResource,?>>- Specified by:
getTraceToSourcein interfaceITraceForURIProvider- Parameters:
srcRelativeDerivedResource- the resource whose source trace is requested. May not benull.project- the project that contains the derived resource. May not benull.- Returns:
- the trace to the source or
null.
-
getTraceToTarget
public Trace getTraceToTarget(AbsoluteURI absoluteSourceResource, IProjectConfig project)
Description copied from interface:ITraceForURIProviderReturns the trace information to the targets that were generated from the given source. May returnnullif no such data is available for the given storage.- Specified by:
getTraceToTargetin interfaceIPlatformSpecificTraceProvider<PlatformResource,Trace extends IPlatformSpecificTrace<PlatformResource,?>>- Specified by:
getTraceToTargetin interfaceITraceForURIProvider- Parameters:
absoluteSourceResource- the resource whose target trace is requested. May not benull.project- the project that contains the derived resource. May not benull.- Returns:
- the trace to the generation targets or
null.
-
getTraceToTarget
public Trace getTraceToTarget(SourceRelativeURI srcRelativeSourceResource, IProjectConfig project)
Description copied from interface:ITraceForURIProviderReturns the trace information to the targets that were generated from the given source. May returnnullif no such data is available for the given storage.- Specified by:
getTraceToTargetin interfaceIPlatformSpecificTraceProvider<PlatformResource,Trace extends IPlatformSpecificTrace<PlatformResource,?>>- Specified by:
getTraceToTargetin interfaceITraceForURIProvider- Parameters:
srcRelativeSourceResource- the resource whose target trace is requested. May not benull.project- the project that contains the resource. May not benull.- Returns:
- the trace to the generation targets or
null.
-
-