public class DeployServiceImpl extends Object implements DeployService
| Constructor and Description |
|---|
DeployServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
File |
createEmptyZip(String processId,
String mandatorId,
String groupId,
String artifactId)
Creates the default structure in the temporary directory and make a ZIP file
|
org.osgi.framework.BundleContext |
getBundleContext() |
void |
setBundleContext(org.osgi.framework.BundleContext bundleContext) |
void |
startUp()
The startup of the service
|
File |
zipFromData(String processId,
String mandatorId,
String groupId,
String artifactId)
Creates the default structure in the temporary directory and copies the files into
the structure and makes a ZIP file from it.
|
void |
zipToData(String processId,
String mandatorId,
String groupId,
String artifactId,
String zipFileName)
Creates the structure from a ZIP file and copies the files to the target.
|
public void startUp()
throws IOException
IOExceptionpublic File createEmptyZip(String processId, String mandatorId, String groupId, String artifactId) throws IOException
DeployServicecreateEmptyZip in interface DeployServiceprocessId - The id of the processmandatorId - The id of the mandatorgroupId - The id of the groupartifactId - The id of the artifactIOExceptionpublic File zipFromData(String processId, String mandatorId, String groupId, String artifactId) throws IOException
DeployServicezipFromData in interface DeployServiceprocessId - The id of the processmandatorId - The id of the mandatorgroupId - The id of the groupartifactId - The id of the artifactIOExceptionpublic void zipToData(String processId, String mandatorId, String groupId, String artifactId, String zipFileName) throws IOException
DeployServicezipToData in interface DeployServiceprocessId - The id of the processmandatorId - The id of the mandatorgroupId - The id of the groupartifactId - The id of the artifactzipFileName - The name of the ZIP file to processIOExceptionpublic org.osgi.framework.BundleContext getBundleContext()
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
bundleContext - the bundleContext to setCopyright © 2015. All rights reserved.