public class JdtToBeBuiltComputer extends java.lang.Object implements IToBeBuiltComputerContribution
Modifier and Type | Class and Description |
---|---|
static class |
JdtToBeBuiltComputer.ModificationStampCache |
Constructor and Description |
---|
JdtToBeBuiltComputer() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isBuiltByUpstream(org.eclipse.jdt.core.IPackageFragmentRoot root,
org.eclipse.core.resources.IProject project,
org.eclipse.core.resources.IProject[] projectsInCorrectBuildOrder) |
boolean |
isPossiblyHandled(org.eclipse.core.resources.IStorage resource)
Returns
true if the given storage is possibly process-able by the builder. |
boolean |
isRejected(org.eclipse.core.resources.IFolder folder)
Ignores Java output folders when traversing a project.
|
protected void |
queueJavaChange(java.lang.String typeName) |
void |
removeProject(ToBeBuilt toBeBuilt,
org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IProgressMonitor monitor)
Triggered by a clean build or for closed projects.
|
boolean |
removeStorage(ToBeBuilt toBeBuilt,
org.eclipse.core.resources.IStorage storage,
org.eclipse.core.runtime.IProgressMonitor monitor)
The storage was removed.
|
void |
updateProject(ToBeBuilt toBeBuilt,
org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.IProgressMonitor monitor)
Triggered by a full build.
|
boolean |
updateStorage(ToBeBuilt toBeBuilt,
org.eclipse.core.resources.IStorage storage,
org.eclipse.core.runtime.IProgressMonitor monitor)
The storage was updated.
|
public void removeProject(ToBeBuilt toBeBuilt, org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor)
IToBeBuiltComputerContribution
removeProject
in interface IToBeBuiltComputerContribution
public void updateProject(ToBeBuilt toBeBuilt, org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
IToBeBuiltComputerContribution
updateProject
in interface IToBeBuiltComputerContribution
org.eclipse.core.runtime.CoreException
protected boolean isBuiltByUpstream(org.eclipse.jdt.core.IPackageFragmentRoot root, org.eclipse.core.resources.IProject project, org.eclipse.core.resources.IProject[] projectsInCorrectBuildOrder)
public boolean removeStorage(ToBeBuilt toBeBuilt, org.eclipse.core.resources.IStorage storage, org.eclipse.core.runtime.IProgressMonitor monitor)
IToBeBuiltComputerContribution
removeStorage
in interface IToBeBuiltComputerContribution
true
if the storage was processed by the contribution.public boolean updateStorage(ToBeBuilt toBeBuilt, org.eclipse.core.resources.IStorage storage, org.eclipse.core.runtime.IProgressMonitor monitor)
IToBeBuiltComputerContribution
updateStorage
in interface IToBeBuiltComputerContribution
true
if the storage was processed by the contribution.protected void queueJavaChange(java.lang.String typeName)
public boolean isPossiblyHandled(org.eclipse.core.resources.IStorage resource)
IToBeBuiltComputerContribution
true
if the given storage is possibly process-able by the builder.
That is, the storage type can be processed by this contribution.isPossiblyHandled
in interface IToBeBuiltComputerContribution
public boolean isRejected(org.eclipse.core.resources.IFolder folder)
isRejected
in interface IToBeBuiltComputerContribution
true
if the folder is a java output folder. Otherwise false
.