public class DefaultMakePackageService extends Object implements MakePackageService
Modifier and Type | Field and Description |
---|---|
protected String |
antScript |
static String |
COPIED_FILES_DIRECTORY_NAME |
protected File |
packageFolder |
ANT_FILE_NAME
Constructor and Description |
---|
DefaultMakePackageService(InstallerManager manager,
File packageFolder,
PackageInfo packageInfo) |
Modifier and Type | Method and Description |
---|---|
protected void |
createInstallFolderInPackageFolder() |
void |
createPackage(OutputStream packageStream) |
void |
createPackageIndex(URL downloadurl,
OutputStream packageStream) |
void |
createPackageIndexSet(URL downloadurl,
OutputStream packageStream) |
void |
createPackageSet(OutputStream packageStream) |
String |
getDefaultAntScript() |
Manager |
getManager() |
void |
preparePackage() |
public static final String COPIED_FILES_DIRECTORY_NAME
protected File packageFolder
protected String antScript
public DefaultMakePackageService(InstallerManager manager, File packageFolder, PackageInfo packageInfo)
public Manager getManager()
getManager
in interface MakePackageService
public void preparePackage() throws MakePackageServiceException
preparePackage
in interface MakePackageService
MakePackageServiceException
public void createPackageSet(OutputStream packageStream) throws MakePackageServiceException
createPackageSet
in interface MakePackageService
MakePackageServiceException
public void createPackageIndexSet(URL downloadurl, OutputStream packageStream) throws MakePackageServiceException
createPackageIndexSet
in interface MakePackageService
MakePackageServiceException
public void createPackage(OutputStream packageStream) throws MakePackageServiceException
createPackage
in interface MakePackageService
MakePackageServiceException
public void createPackageIndex(URL downloadurl, OutputStream packageStream) throws MakePackageServiceException
createPackageIndex
in interface MakePackageService
MakePackageServiceException
protected void createInstallFolderInPackageFolder()
public String getDefaultAntScript() throws MakePluginPackageServiceException
getDefaultAntScript
in interface MakePackageService
MakePluginPackageServiceException