public abstract class CommonHandler extends Object implements NodeElementProcessor
| Modifier and Type | Field and Description |
|---|---|
protected ApplicationNode |
applicationNode |
| Constructor and Description |
|---|
CommonHandler(ApplicationNode applicationNode) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getBaseFolderName() |
protected File |
getPackageFolder(org.eclipse.core.resources.IFolder nodeDir) |
String |
getPackageName() |
protected abstract void |
handleProcess(org.eclipse.core.resources.IFolder nodeDir,
org.eclipse.core.runtime.IProgressMonitor monitor,
Map<String,String> properties) |
protected Set<String> |
makeDriverList() |
protected Set<String> |
makeEquinoxList() |
protected boolean |
needP2() |
void |
process(String phase,
org.eclipse.core.resources.IFolder nodeDir,
org.eclipse.core.runtime.IProgressMonitor monitor,
Map<String,String> properties)
Process a node
|
protected final ApplicationNode applicationNode
public CommonHandler(ApplicationNode applicationNode)
protected abstract void handleProcess(org.eclipse.core.resources.IFolder nodeDir,
org.eclipse.core.runtime.IProgressMonitor monitor,
Map<String,String> properties)
throws Exception
Exceptionpublic void process(String phase, org.eclipse.core.resources.IFolder nodeDir, org.eclipse.core.runtime.IProgressMonitor monitor, Map<String,String> properties) throws Exception
NodeElementProcessor
A processor should only do stuff it is supposed to do for the phase that
is is called. If the phase is null it should do all its
stuff at the same time.
process in interface NodeElementProcessorphase - the phase the processor should handle, or nullnodeDir - the base directory for outputmonitor - the monitorproperties - global properties that miay influence the processingException - if anything goes wrongprotected abstract String getBaseFolderName()
public String getPackageName()
protected File getPackageFolder(org.eclipse.core.resources.IFolder nodeDir)
protected boolean needP2()