public class MojoExecutionBuildParticipant extends AbstractBuildParticipant2
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) |
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, getSessionpublic 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
AbstractBuildParticipantbuild in class AbstractBuildParticipant2kind - the kind of build being requested, AbstractBuildParticipant.FULL_BUILD, AbstractBuildParticipant.AUTO_BUILD, AbstractBuildParticipant.INCREMENTAL_BUILD
or AbstractBuildParticipant2.PRECONFIGURE_BUILD.Exceptionpublic boolean appliesToBuildKind(int kind)
public org.apache.maven.plugin.MojoExecution getMojoExecution()
Copyright © 2005–2021 Eclipse Foundation. All rights reserved.