public class JETCompileTemplateOperation
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JETCompileTemplateOperation.JETCompilationMonitor |
| Modifier and Type | Field and Description |
|---|---|
protected JETCompileTemplateOperation.JETCompilationMonitor |
compilationMonitor |
protected java.util.Collection<?> |
containers |
protected java.util.List<java.lang.Object> |
files |
protected boolean |
inBuild |
protected static java.lang.String |
JET_EXTENSION |
static java.lang.String |
JET_PROBLEM |
protected IProject |
project |
| Constructor and Description |
|---|
JETCompileTemplateOperation(IFile file,
JETCompileTemplateOperation.JETCompilationMonitor compilationMonitor) |
JETCompileTemplateOperation(IProject project,
java.util.Collection<?> containers)
Creates an instance given the collection of resources.
|
JETCompileTemplateOperation(IProject project,
java.util.Collection<?> containers,
java.util.Collection<?> resources)
Creates an instance given the collection of resources.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
consider(IContainer container)
Considers all the files of a container and all its subcontainer.
|
protected void |
consider(IFile file)
Adds the file to
files the file ends with the JET_EXTENSION extension. |
protected void |
consider(java.lang.String uri)
Adds the URI.
|
protected void |
consider(URI baseURI,
URI localURI,
java.io.File file) |
java.util.List<java.lang.Object> |
getFiles() |
protected IContainer |
getPackageContainer(IContainer root,
java.lang.String packagename,
IProgressMonitor monitor) |
boolean |
isInBuild() |
void |
run(IProgressMonitor progressMonitor) |
void |
setInBuild(boolean build) |
boolean |
shouldCompile()
Returns true if there are files to compile.
|
public static final java.lang.String JET_PROBLEM
protected static final java.lang.String JET_EXTENSION
protected IProject project
protected java.util.Collection<?> containers
protected java.util.List<java.lang.Object> files
protected boolean inBuild
protected JETCompileTemplateOperation.JETCompilationMonitor compilationMonitor
public JETCompileTemplateOperation(IProject project,
java.util.Collection<?> containers)
throws CoreException
CoreExceptionpublic JETCompileTemplateOperation(IProject project,
java.util.Collection<?> containers,
java.util.Collection<?> resources)
throws CoreException
CoreExceptionpublic JETCompileTemplateOperation(IFile file,
JETCompileTemplateOperation.JETCompilationMonitor compilationMonitor)
throws CoreException
CoreExceptionpublic java.util.List<java.lang.Object> getFiles()
public boolean shouldCompile()
protected void consider(java.lang.String uri)
protected void consider(URI baseURI,
URI localURI,
java.io.File file)
protected void consider(IFile file)
files the file ends with the JET_EXTENSION extension.protected void consider(IContainer container)
throws CoreException
CoreExceptionpublic void run(IProgressMonitor progressMonitor)
throws CoreException
CoreExceptionprotected IContainer getPackageContainer(IContainer root,
java.lang.String packagename,
IProgressMonitor monitor)
throws CoreException
CoreExceptionpublic boolean isInBuild()
public void setInBuild(boolean build)
Copyright © 2021. Licensed under the Eclipse Public License v2.0. All rights reserved.
Submit a bug or feature