public class MojoExecutionBuildParticipant extends AbstractBuildParticipant2
| Modifier and Type | Field and Description |
|---|---|
private org.apache.maven.plugin.MojoExecution |
execution |
private boolean |
runOnConfiguration |
private boolean |
runOnIncremental |
PRECONFIGURE_BUILDAUTO_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) |
java.util.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() |
getArgscallOnEmptyDelta, clean, getBuildContext, getDelta, getMavenProjectFacade, getSessionprivate final org.apache.maven.plugin.MojoExecution execution
private final boolean runOnIncremental
private final boolean runOnConfiguration
public MojoExecutionBuildParticipant(org.apache.maven.plugin.MojoExecution execution,
boolean runOnIncremental)
public MojoExecutionBuildParticipant(org.apache.maven.plugin.MojoExecution execution,
boolean runOnIncremental,
boolean runOnConfiguration)
public java.util.Set<org.eclipse.core.resources.IProject> build(int kind,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws java.lang.Exception
AbstractBuildParticipantbuild in class AbstractBuildParticipant2kind - the kind of build being requested, AbstractBuildParticipant.FULL_BUILD, AbstractBuildParticipant.AUTO_BUILD, AbstractBuildParticipant.INCREMENTAL_BUILD
or AbstractBuildParticipant2.PRECONFIGURE_BUILD.java.lang.Exceptionpublic boolean appliesToBuildKind(int kind)
public org.apache.maven.plugin.MojoExecution getMojoExecution()