protected static class ParallelBuilderParticipant.ParallelBuildContext extends java.lang.Object implements IXtextBuilderParticipant.IBuildContext
| Constructor and Description |
|---|
ParallelBuilderParticipant.ParallelBuildContext(IResourceDescription.Delta delta,
IXtextBuilderParticipant.IBuildContext buildContextDelegate,
java.util.Map<java.lang.String,OutputConfiguration> outputConfigurations,
java.util.Map<OutputConfiguration,java.lang.Iterable<org.eclipse.core.resources.IMarker>> generatorMarkers,
FileSystemAccessQueue fileSystemAccessQueue,
java.util.Queue<ParallelBuilderParticipant.ParallelBuildContext> afterGenerateQueue,
EclipseResourceFileSystemAccess2 delegate,
org.eclipse.core.runtime.IProgressMonitor progressMonitor) |
| Modifier and Type | Method and Description |
|---|---|
IXtextBuilderParticipant.BuildType |
getBuildType()
The current build type.
|
org.eclipse.core.resources.IProject |
getBuiltProject()
Returns the current project.
|
java.util.List<IResourceDescription.Delta> |
getDeltas()
Returns the list of resource deltas that was produced by this run of the incremental project builder.
|
IGeneratorContext |
getGeneratorContext() |
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet()
The correctly configured resource set for this run of the incremental project builder.
|
org.eclipse.emf.common.util.URI |
getURI() |
boolean |
isSourceLevelURI(org.eclipse.emf.common.util.URI uri)
Returns true if the given uri points to a resource from the workspace rather than from an archive.
|
void |
needRebuild()
Request a rebuild after the this build run.
|
public ParallelBuilderParticipant.ParallelBuildContext(IResourceDescription.Delta delta, IXtextBuilderParticipant.IBuildContext buildContextDelegate, java.util.Map<java.lang.String,OutputConfiguration> outputConfigurations, java.util.Map<OutputConfiguration,java.lang.Iterable<org.eclipse.core.resources.IMarker>> generatorMarkers, FileSystemAccessQueue fileSystemAccessQueue, java.util.Queue<ParallelBuilderParticipant.ParallelBuildContext> afterGenerateQueue, EclipseResourceFileSystemAccess2 delegate, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
public org.eclipse.emf.common.util.URI getURI()
public org.eclipse.core.resources.IProject getBuiltProject()
IXtextBuilderParticipant.IBuildContextgetBuiltProject in interface IXtextBuilderParticipant.IBuildContextnull.public java.util.List<IResourceDescription.Delta> getDeltas()
IXtextBuilderParticipant.IBuildContextresource set by means of
getResource.getDeltas in interface IXtextBuilderParticipant.IBuildContextnull.public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
IXtextBuilderParticipant.IBuildContextgetResourceSet in interface IXtextBuilderParticipant.IBuildContextnull.public IXtextBuilderParticipant.BuildType getBuildType()
IXtextBuilderParticipant.IBuildContextgetBuildType in interface IXtextBuilderParticipant.IBuildContextpublic void needRebuild()
IXtextBuilderParticipant.IBuildContextIXtextBuilderParticipant.IBuildContext.needRebuild() if this
participant generates file that need to be compiled or processed by another builder.needRebuild in interface IXtextBuilderParticipant.IBuildContextpublic boolean isSourceLevelURI(org.eclipse.emf.common.util.URI uri)
IXtextBuilderParticipant.IBuildContextisSourceLevelURI in interface IXtextBuilderParticipant.IBuildContextpublic IGeneratorContext getGeneratorContext()