org.eclipse.core.resources.ant
Class IncrementalBuild

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.eclipse.core.resources.ant.IncrementalBuild
All Implemented Interfaces:
java.lang.Cloneable

public class IncrementalBuild
extends org.apache.tools.ant.Task

Ant task which runs the platform's incremental build facilities.

See Also:
IProject.build(int, IProgressMonitor), IWorkspace.build(int, IProgressMonitor)

Field Summary
static java.lang.String KIND_AUTO
          Unique identifier constant (value "auto") indicating that an auto build should be performed.
static java.lang.String KIND_CLEAN
          Unique identifier constant (value "clean") indicating that a CLEAN build should be performed.
static java.lang.String KIND_FULL
          Unique identifier constant (value "full") indicating that a full build should be performed.
static java.lang.String KIND_INCREMENTAL
          Unique identifier constant (value "incremental") indicating that an incremental build should be performed.
 
Constructor Summary
IncrementalBuild()
          Constructs an IncrementalBuild instance.
 
Method Summary
 void execute()
          Executes this task.
 void setBuilder(java.lang.String value)
          Sets the name of the receiver's builder.
 void setKind(java.lang.String value)
          Sets the receiver's kind> attribute.
 void setProject(java.lang.String value)
          Sets the receiver's target project.
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KIND_INCREMENTAL

public static final java.lang.String KIND_INCREMENTAL
Unique identifier constant (value "incremental") indicating that an incremental build should be performed.

See Also:
Constant Field Values

KIND_FULL

public static final java.lang.String KIND_FULL
Unique identifier constant (value "full") indicating that a full build should be performed.

See Also:
Constant Field Values

KIND_AUTO

public static final java.lang.String KIND_AUTO
Unique identifier constant (value "auto") indicating that an auto build should be performed.

See Also:
Constant Field Values

KIND_CLEAN

public static final java.lang.String KIND_CLEAN
Unique identifier constant (value "clean") indicating that a CLEAN build should be performed.

See Also:
Constant Field Values
Constructor Detail

IncrementalBuild

public IncrementalBuild()
Constructs an IncrementalBuild instance.

Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Executes this task.

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - thrown if a problem occurs during execution

setBuilder

public void setBuilder(java.lang.String value)
Sets the name of the receiver's builder.

Parameters:
value - the name of the receiver's builder

setKind

public void setKind(java.lang.String value)
Sets the receiver's kind> attribute. This value must be one of: IncrementalBuild.KIND_FULL, IncrementalBuild.KIND_AUTO, IncrementalBuild.KIND_INCREMENTAL, IncrementalBuild.KIND_CLEAN.

Parameters:
value - the receiver's kind attribute

setProject

public void setProject(java.lang.String value)
Sets the receiver's target project.

Parameters:
value - the receiver's target project