public abstract class DriverProcessor extends Object implements NodeElementProcessor
| Constructor and Description |
|---|
DriverProcessor(Driver driver) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addConfiguration(HiveConfigurationType hiveCfg) |
protected void |
fillProperties(Properties p) |
protected abstract String |
getHiveId() |
void |
process(String phase,
org.eclipse.core.resources.IFolder baseDir,
org.eclipse.core.runtime.IProgressMonitor monitor,
Map<String,String> properties)
Process a node
|
public DriverProcessor(Driver driver)
public void process(String phase, org.eclipse.core.resources.IFolder baseDir, 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 nullbaseDir - the base directory for outputmonitor - the monitorproperties - global properties that miay influence the processingException - if anything goes wrongprotected void fillProperties(Properties p)
protected abstract void addConfiguration(HiveConfigurationType hiveCfg)
protected abstract String getHiveId()