public abstract class AbstractBuildParticipant extends InternalBuildParticipant
| Modifier and Type | Field and Description |
|---|---|
static int |
AUTO_BUILD
Build kind constant indicating an automatic build request.
|
static int |
CLEAN_BUILD
Build kind constant indicating a clean build request.
|
static int |
FULL_BUILD
Build kind constant indicating a full build request.
|
static int |
INCREMENTAL_BUILD
Build kind constant indicating an incremental build request.
|
| Constructor and Description |
|---|
AbstractBuildParticipant() |
| Modifier and Type | Method and Description |
|---|---|
abstract Set<org.eclipse.core.resources.IProject> |
build(int kind,
org.eclipse.core.runtime.IProgressMonitor monitor)
This method is called during workspace full or incremental build.
|
boolean |
callOnEmptyDelta() |
void |
clean(org.eclipse.core.runtime.IProgressMonitor monitor)
This method is called during workspace clean build.
|
protected org.sonatype.plexus.build.incremental.BuildContext |
getBuildContext() |
protected org.eclipse.core.resources.IResourceDelta |
getDelta(org.eclipse.core.resources.IProject project) |
protected IMavenProjectFacade |
getMavenProjectFacade() |
protected org.apache.maven.execution.MavenSession |
getSession() |
public static final int FULL_BUILD
IncrementalProjectBuilder.FULL_BUILD.IncrementalProjectBuilder.FULL_BUILD,
Constant Field Valuespublic static final int AUTO_BUILD
IncrementalProjectBuilder.AUTO_BUILD.IncrementalProjectBuilder.AUTO_BUILD,
Constant Field Valuespublic static final int INCREMENTAL_BUILD
IncrementalProjectBuilder.INCREMENTAL_BUILD.IncrementalProjectBuilder.INCREMENTAL_BUILD,
Constant Field Valuespublic static final int CLEAN_BUILD
IncrementalProjectBuilder.CLEAN_BUILD.IncrementalProjectBuilder.CLEAN_BUILD,
Constant Field Valuespublic abstract Set<org.eclipse.core.resources.IProject> build(int kind, org.eclipse.core.runtime.IProgressMonitor monitor) throws Exception
build in class InternalBuildParticipantkind - the kind of build being requested, FULL_BUILD, AUTO_BUILD or
INCREMENTAL_BUILDExceptionpublic boolean callOnEmptyDelta()
callOnEmptyDelta in class InternalBuildParticipantpublic void clean(org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
clean in class InternalBuildParticipantorg.eclipse.core.runtime.CoreExceptionprotected IMavenProjectFacade getMavenProjectFacade()
getMavenProjectFacade in class InternalBuildParticipantprotected org.eclipse.core.resources.IResourceDelta getDelta(org.eclipse.core.resources.IProject project)
getDelta in class InternalBuildParticipantprotected org.apache.maven.execution.MavenSession getSession()
getSession in class InternalBuildParticipantprotected org.sonatype.plexus.build.incremental.BuildContext getBuildContext()
getBuildContext in class InternalBuildParticipantCopyright © 2005–2021 Eclipse Foundation. All rights reserved.