|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.builder.impl.BuildContext
public class BuildContext
Constructor Summary | |
---|---|
BuildContext(XtextBuilder builder,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
java.util.List<IResourceDescription.Delta> deltas,
IXtextBuilderParticipant.BuildType type)
|
Method Summary | |
---|---|
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. |
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet()
The correctly configured resource set for this run of the incremental project builder. |
void |
needRebuild()
Request a rebuild after the this build run. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BuildContext(XtextBuilder builder, org.eclipse.emf.ecore.resource.ResourceSet resourceSet, java.util.List<IResourceDescription.Delta> deltas, IXtextBuilderParticipant.BuildType type)
Method Detail |
---|
public org.eclipse.core.resources.IProject getBuiltProject()
IXtextBuilderParticipant.IBuildContext
getBuiltProject
in interface IXtextBuilderParticipant.IBuildContext
null
.public java.util.List<IResourceDescription.Delta> getDeltas()
IXtextBuilderParticipant.IBuildContext
resource set
by means of
getResource
.
getDeltas
in interface IXtextBuilderParticipant.IBuildContext
null
.public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
IXtextBuilderParticipant.IBuildContext
getResourceSet
in interface IXtextBuilderParticipant.IBuildContext
null
.public void needRebuild()
IXtextBuilderParticipant.IBuildContext
IXtextBuilderParticipant.IBuildContext.needRebuild()
if this
participant generates file that need to be compiled or processed by another builder.
needRebuild
in interface IXtextBuilderParticipant.IBuildContext
public IXtextBuilderParticipant.BuildType getBuildType()
IXtextBuilderParticipant.IBuildContext
getBuildType
in interface IXtextBuilderParticipant.IBuildContext
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |