|
Eclipse JDT Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IFactoryPath
A minimal API for manipulating the annotation processor factory path. The factory path is an ordered list of containers, each of which has certain attributes, e.g., isEnabled, runInBatchMode.
Clients should not implement this interface.
Method Summary | |
---|---|
void |
addExternalJar(File jar)
Add an external jar file (not in the workspace) to the head of the factory path. |
void |
addVarJar(IPath jarPath)
Add a jar file in the workspace, specified with a classpath variable, to the head of the factory path. |
void |
addWkspJar(IPath jarPath)
Add a jar file in the workspace to the head of the factory path. |
void |
disablePlugin(String pluginId)
Disable a plugin on the factory path. |
void |
enablePlugin(String pluginId)
Enable a plugin on the factory path, and move it to the head of the path. |
void |
removeExternalJar(File jar)
Remove an external jar file from the factory path. |
void |
removeVarJar(IPath jarPath)
Remove from the factory path a jar file whose name is based on a classpath variable. |
void |
removeWkspJar(IPath jarPath)
Remove a workspace-relative jar from the factory path. |
Method Detail |
---|
void addExternalJar(File jar)
jar
- a java.io.File representing the jar file. Must not be null.void removeExternalJar(File jar)
jar
- must not be null.void addWkspJar(IPath jarPath)
jarPath
- an Eclipse IPath representing the jar file; the path is
relative to the workspace root. Must not be null.void removeWkspJar(IPath jarPath)
jarPath
- an Eclipse IPath representing the jar file; the path is
relative to the workspace root. Must not be null.void addVarJar(IPath jarPath)
jarPath
- an Eclipse IPath representing the jar file; the first
segment of the path is assumed to be the variable name. Must not
be null.void removeVarJar(IPath jarPath)
jarPath
- an Eclipse IPath representing the jar file; the first
segment of the path is assumed to be the variable name. Must not
be null.void enablePlugin(String pluginId) throws CoreException
pluginId
- the unique id of the processor plugin, e.g.,
"org.example.myProcessors"
CoreException
- if the plugin is not installed.void disablePlugin(String pluginId)
pluginId
- the unique id of the processor plugin, e.g.,
"org.example.myProcessors"
|
Eclipse JDT Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |