public abstract class CommonPackageHandler extends CommonHandler
applicationNode
Constructor and Description |
---|
CommonPackageHandler(ApplicationNode applicationNode,
CommonDeploymentMechanism deploy) |
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 StartupMechanism |
getDefaultStartupMechanism() |
protected org.eclipse.scada.configuration.world.lib.deployment.startup.StartupHandler |
getStartupHandler() |
protected void |
handleProcess(org.eclipse.core.resources.IFolder nodeDir,
org.eclipse.core.runtime.IProgressMonitor monitor,
Map<String,String> properties) |
protected String |
makeCreate(CommonDeploymentMechanism deploy) |
protected void |
patchProfile(String appName,
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) |
protected void |
processEquinox(File sourceBase,
File packageFolder,
Map<String,String> replacements,
org.eclipse.core.runtime.IProgressMonitor monitor,
String name) |
protected void |
runSetup(CommonDeploymentMechanism deploy,
DeploymentContext context,
org.eclipse.core.runtime.IProgressMonitor monitor) |
protected void |
setDeploymentContext(DeploymentContext deploymentContext) |
getBaseFolderName, getPackageFolder, getPackageName, makeDriverList, makeEquinoxList, needP2, process
public CommonPackageHandler(ApplicationNode applicationNode, CommonDeploymentMechanism deploy)
protected 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 setDeploymentContext(DeploymentContext deploymentContext)
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) 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 appName, File file) throws IOException
file
- the profile.xml file in the debian package targetIOException
protected abstract StartupMechanism getDefaultStartupMechanism()
protected org.eclipse.scada.configuration.world.lib.deployment.startup.StartupHandler getStartupHandler()
protected String makeCreate(CommonDeploymentMechanism deploy)
protected void runSetup(CommonDeploymentMechanism deploy, DeploymentContext context, org.eclipse.core.runtime.IProgressMonitor monitor) throws Exception
Exception