public class DebianPackageImpl extends Object implements DebianPackage
 A DebianPackage implementation.
 
| Constructor and Description | 
|---|
| DebianPackageImpl()
 Creates a Debian package. | 
| Modifier and Type | Method and Description | 
|---|---|
| ChangeLog | getChangeLog()
 Returns the change log of this package. | 
| Script | getConfig()
 Returns the script for the configuration of the package. | 
| ConfigFiles | getConfigFiles()
 Returns the configuration files which are managed by this package. | 
| Control | getControl()
 Returns the control of the package. | 
| Copyright | getCopyright()
 Returns the copyright of this package. | 
| String | getFileFormatVersion()
 Returns the version of the file format. | 
| MD5Sums | getMD5Sums()
 Returns the MD5 sums. | 
| Script | getPostInstall()
 Returns the script which will be executed after the package is installed. | 
| Script | getPostRemove()
 Returns the script which will be executed after the package is removed. | 
| Script | getPreInstall()
 Returns the script which will be executed before the package is
 installed. | 
| Script | getPreRemove()
 Returns the script which will be executed before the package is removed. | 
| SharedLibraries | getSharedLibraries()
 Returns the shared libraries of this package. | 
| Symbols | getSymbols()
 Returns the symbols of the shared libraries of this package. | 
| Templates | getTemplates()
 Returns the templates for asking the user questions about the
 configuration. | 
| void | setChangeLog(ChangeLog changeLog)
 Sets the change log of this package. | 
| void | setConfig(Script config)
 Sets the script for the configuration of the package. | 
| void | setConfigFiles(ConfigFiles configFiles)
 Sets the configuration files which are managed by this package. | 
| void | setControl(Control control)
 Sets the control of the package. | 
| void | setCopyright(Copyright copyright)
 Sets the copyright of this package. | 
| void | setFileFormatVersion(String fileFormatVersion)
 Sets the version of the file format. | 
| void | setMD5Sums(MD5Sums md5Sums)
 Sets the MD5 sums. | 
| void | setPostInstall(Script postInstall)
 Sets the script which will be executed after the package is installed. | 
| void | setPostRemove(Script postRemove)
 Sets the script which will be executed after the package is removed. | 
| void | setPreInstall(Script preInstall)
 Sets the script which will be executed before the package is installed. | 
| void | setPreRemove(Script preRemove)
 Sets the script which will be executed after the package is installed. | 
| void | setSharedLibraries(SharedLibraries sharedLibraries)
 Sets the shared libraries of this package. | 
| void | setSymbols(Symbols symbols)
 Sets the symbols of the shared libraries of this package. | 
| void | setTemplates(Templates templates)
 Sets the templates for asking the user questions about the configuration. | 
public String getFileFormatVersion()
DebianPackageReturns the version of the file format.
In most cases this should be "2.0"
getFileFormatVersion in interface DebianPackagepublic void setFileFormatVersion(String fileFormatVersion)
Sets the version of the file format.
In most cases this should be "2.0"
fileFormatVersion - The version.public Control getControl()
DebianPackageReturns the control of the package.
getControl in interface DebianPackagepublic void setControl(Control control)
Sets the control of the package.
control - The control.public MD5Sums getMD5Sums()
DebianPackageReturns the MD5 sums.
getMD5Sums in interface DebianPackagenull, if the Debian package doesn't
         contain the MD5 sums.public void setMD5Sums(MD5Sums md5Sums)
Sets the MD5 sums.
md5Sums - The MD5 sums.public Script getPreInstall()
DebianPackageReturns the script which will be executed before the package is installed.
getPreInstall in interface DebianPackagenull, if the script doesn't exist.public void setPreInstall(Script preInstall)
Sets the script which will be executed before the package is installed.
preInstall - The script.public Script getPostInstall()
DebianPackageReturns the script which will be executed after the package is installed.
getPostInstall in interface DebianPackagenull, if the script doesn't exist.public void setPostInstall(Script postInstall)
Sets the script which will be executed after the package is installed.
postInstall - The script.public Script getPreRemove()
DebianPackageReturns the script which will be executed before the package is removed.
getPreRemove in interface DebianPackagenull, if the script doesn't exist.public void setPreRemove(Script preRemove)
Sets the script which will be executed after the package is installed.
preRemove - The script.public Script getPostRemove()
DebianPackageReturns the script which will be executed after the package is removed.
getPostRemove in interface DebianPackagenull, if the script doesn't exist.public void setPostRemove(Script postRemove)
Sets the script which will be executed after the package is removed.
postRemove - The script.public Templates getTemplates()
DebianPackageReturns the templates for asking the user questions about the configuration.
getTemplates in interface DebianPackagenull, if no templates exist.DebianPackage.getConfig()public void setTemplates(Templates templates)
Sets the templates for asking the user questions about the configuration.
templates - The templates.setConfig(Script)public Script getConfig()
DebianPackageReturns the script for the configuration of the package.
getConfig in interface DebianPackagenull, if the script doesn't exist.DebianPackage.getTemplates()public void setConfig(Script config)
Sets the script for the configuration of the package.
config - The script.setTemplates(Templates)public ConfigFiles getConfigFiles()
DebianPackageReturns the configuration files which are managed by this package.
getConfigFiles in interface DebianPackagenull, if no configuration
         files are specified.public void setConfigFiles(ConfigFiles configFiles)
Sets the configuration files which are managed by this package.
configFiles - The configuration files.public SharedLibraries getSharedLibraries()
DebianPackageReturns the shared libraries of this package.
getSharedLibraries in interface DebianPackagenull, if no shared libraries
         are specified.public void setSharedLibraries(SharedLibraries sharedLibraries)
Sets the shared libraries of this package.
sharedLibraries - The shared libraries.public Symbols getSymbols()
DebianPackageReturns the symbols of the shared libraries of this package.
getSymbols in interface DebianPackagenull, if no symbols are specified.public void setSymbols(Symbols symbols)
Sets the symbols of the shared libraries of this package.
symbols - The symbols.public Copyright getCopyright()
DebianPackageReturns the copyright of this package.
getCopyright in interface DebianPackagenull, if no copyright is specified.public void setCopyright(Copyright copyright)
Sets the copyright of this package.
copyright - The copyright.public ChangeLog getChangeLog()
DebianPackageReturns the change log of this package.
getChangeLog in interface DebianPackagenull, if no change log is
         specified.public void setChangeLog(ChangeLog changeLog)
Sets the change log of this package.
changeLog - The change log.Copyright © 2015–2019. All rights reserved.