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