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 InternalBuildParticipant
kind
- the kind of build being requested, FULL_BUILD
, AUTO_BUILD
or
INCREMENTAL_BUILD
Exception
public boolean callOnEmptyDelta()
callOnEmptyDelta
in class InternalBuildParticipant
public void clean(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
clean
in class InternalBuildParticipant
org.eclipse.core.runtime.CoreException
protected IMavenProjectFacade getMavenProjectFacade()
getMavenProjectFacade
in class InternalBuildParticipant
protected org.eclipse.core.resources.IResourceDelta getDelta(org.eclipse.core.resources.IProject project)
getDelta
in class InternalBuildParticipant
protected org.apache.maven.execution.MavenSession getSession()
getSession
in class InternalBuildParticipant
protected org.sonatype.plexus.build.incremental.BuildContext getBuildContext()
getBuildContext
in class InternalBuildParticipant
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.