1 11 package org.eclipse.core.resources; 12 13 import java.util.Map ; 14 import org.eclipse.core.internal.events.InternalBuilder; 15 import org.eclipse.core.runtime.*; 16 17 32 public abstract class IncrementalProjectBuilder extends InternalBuilder implements IExecutableExtension { 33 42 public static final int FULL_BUILD = 6; 43 52 public static final int AUTO_BUILD = 9; 53 63 public static final int INCREMENTAL_BUILD = 10; 64 76 public static final int CLEAN_BUILD = 15; 77 78 134 protected abstract IProject[] build(int kind, Map args, IProgressMonitor monitor) throws CoreException; 135 136 166 protected void clean(IProgressMonitor monitor) throws CoreException { 167 if (false) 169 throw new CoreException(Status.OK_STATUS); } 171 172 178 public final void forgetLastBuiltState() { 179 super.forgetLastBuiltState(); 180 } 181 182 195 public final ICommand getCommand() { 196 return super.getCommand(); 197 } 198 199 233 public final IResourceDelta getDelta(IProject project) { 234 return super.getDelta(project); 235 } 236 237 242 public final IProject getProject() { 243 return super.getProject(); 244 } 245 246 263 public final boolean hasBeenBuilt(IProject project) { 264 return super.hasBeenBuilt(project); 265 } 266 267 281 public final boolean isInterrupted() { 282 return super.isInterrupted(); 283 } 284 285 298 public final void needRebuild() { 299 super.needRebuild(); 300 } 301 302 328 public void setInitializationData(IConfigurationElement config, String propertyName, Object data) throws CoreException { 329 if (false) 331 throw new CoreException(Status.OK_STATUS); 332 } 333 334 342 protected void startupOnInitialize() { 343 } 345 } 346 | Popular Tags |