public abstract class CommonPackageHandler extends CommonHandler
applicationNode
Constructor and Description |
---|
CommonPackageHandler(ApplicationNode applicationNode) |
Modifier and Type | Method and Description |
---|---|
protected void |
createDriver(org.eclipse.core.resources.IFolder nodeDir,
org.eclipse.core.runtime.IProgressMonitor monitor,
File packageFolder,
Map<String,String> replacements,
String driverName) |
protected void |
createDrivers(org.eclipse.core.resources.IFolder nodeDir,
org.eclipse.core.runtime.IProgressMonitor monitor,
File packageFolder,
Map<String,String> replacements) |
protected void |
createEquinox(File sourceBase,
File packageFolder,
Map<String,String> replacements,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected abstract void |
handleProcess(org.eclipse.core.resources.IFolder nodeDir,
org.eclipse.core.runtime.IProgressMonitor monitor,
Map<String,String> properties) |
protected void |
patchProfile(String name,
File file)
Inject the CA bootstrap property to the profile
|
protected void |
processDriver(org.eclipse.core.runtime.IProgressMonitor monitor,
File packageFolder,
Map<String,String> replacements,
String driverName,
File sourceDir,
File driverDir) |
protected void |
processEquinox(File sourceBase,
File packageFolder,
Map<String,String> replacements,
org.eclipse.core.runtime.IProgressMonitor monitor,
String name) |
getBaseFolderName, getPackageFolder, getPackageName, makeDriverList, makeEquinoxList, needP2, process
public CommonPackageHandler(ApplicationNode applicationNode)
protected abstract void handleProcess(org.eclipse.core.resources.IFolder nodeDir, org.eclipse.core.runtime.IProgressMonitor monitor, Map<String,String> properties) throws Exception
handleProcess
in class CommonHandler
Exception
protected void createDrivers(org.eclipse.core.resources.IFolder nodeDir, org.eclipse.core.runtime.IProgressMonitor monitor, File packageFolder, Map<String,String> replacements) throws IOException, Exception
IOException
Exception
protected void createDriver(org.eclipse.core.resources.IFolder nodeDir, org.eclipse.core.runtime.IProgressMonitor monitor, File packageFolder, Map<String,String> replacements, String driverName) throws IOException, Exception
IOException
Exception
protected void processDriver(org.eclipse.core.runtime.IProgressMonitor monitor, File packageFolder, Map<String,String> replacements, String driverName, File sourceDir, File driverDir) throws IOException, Exception
IOException
Exception
protected void createEquinox(File sourceBase, File packageFolder, Map<String,String> replacements, org.eclipse.core.runtime.IProgressMonitor monitor) throws Exception
Exception
protected void processEquinox(File sourceBase, File packageFolder, Map<String,String> replacements, org.eclipse.core.runtime.IProgressMonitor monitor, String name) throws IOException, Exception, FileNotFoundException
protected void patchProfile(String name, File file) throws IOException
file
- the profile.xml file in the debian package targetIOException