public interface IIncrementalProjectBuilder2This interfaces extends
IncrementalProjectBuilder. This class provides optional additional API for the the
org.eclipse.core.resources.buildersstandard extension point.
All builders must subclass
IncrementalProjectBuilderand can optionally implement this interface.
- See Also:
void clean(Map<String,String> args, IProgressMonitor monitor) throws CoreExceptionClean is an opportunity for a builder to discard any additional state that has been computed as a result of previous builds. It is recommended that builders override this method to delete all derived resources created by previous builds, and to remove all markers of type
IMarker.PROBLEMthat were created by previous invocations of the builder. The platform will take care of discarding the builder's last built state (there is no need to call
This method is called as a result of invocations of
IProject.buildwhere the build kind is
This method is long-running; progress and cancellation are provided by the given progress monitor. All builders should report their progress and honor cancel requests in a timely manner. Cancelation requests should be propagated to the caller by throwing
args- a table of builder-specific arguments keyed by argument name (key type:
String, value type:
nullis equivalent to an empty map
monitor- a progress monitor, or
nullif progress reporting and cancellation are not desired
CoreException- if this build fails.
- See Also:
- This method is not intended to be referenced by clients.