public class MojoExecutionBuildParticipant extends AbstractBuildParticipant2
PRECONFIGURE_BUILD
AUTO_BUILD, CLEAN_BUILD, FULL_BUILD, INCREMENTAL_BUILD
Constructor and Description |
---|
MojoExecutionBuildParticipant(org.apache.maven.plugin.MojoExecution execution,
boolean runOnIncremental) |
MojoExecutionBuildParticipant(org.apache.maven.plugin.MojoExecution execution,
boolean runOnIncremental,
boolean runOnConfiguration) |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesToBuildKind(int kind) |
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.
|
org.apache.maven.plugin.MojoExecution |
getMojoExecution() |
getArgs
callOnEmptyDelta, clean, getBuildContext, getDelta, getMavenProjectFacade, getSession
public MojoExecutionBuildParticipant(org.apache.maven.plugin.MojoExecution execution, boolean runOnIncremental)
public MojoExecutionBuildParticipant(org.apache.maven.plugin.MojoExecution execution, boolean runOnIncremental, boolean runOnConfiguration)
public Set<org.eclipse.core.resources.IProject> build(int kind, org.eclipse.core.runtime.IProgressMonitor monitor) throws Exception
AbstractBuildParticipant
build
in class AbstractBuildParticipant2
kind
- the kind of build being requested, AbstractBuildParticipant.FULL_BUILD
, AbstractBuildParticipant.AUTO_BUILD
, AbstractBuildParticipant.INCREMENTAL_BUILD
or AbstractBuildParticipant2.PRECONFIGURE_BUILD
.Exception
public boolean appliesToBuildKind(int kind)
public org.apache.maven.plugin.MojoExecution getMojoExecution()
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.