public interface DebianPackage
A Debian package.
See Chapter 5 - Control files and their fields for further information.
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.
|
String getFileFormatVersion()
Returns the version of the file format.
In most cases this should be "2.0"
Control getControl()
Returns the control of the package.
MD5Sums getMD5Sums()
Returns the MD5 sums.
null
, if the Debian package doesn't
contain the MD5 sums.Script getPreInstall()
Returns the script which will be executed before the package is installed.
null
, if the script doesn't exist.Script getPostInstall()
Returns the script which will be executed after the package is installed.
null
, if the script doesn't exist.Script getPreRemove()
Returns the script which will be executed before the package is removed.
null
, if the script doesn't exist.Script getPostRemove()
Returns the script which will be executed after the package is removed.
null
, if the script doesn't exist.Templates getTemplates()
Returns the templates for asking the user questions about the configuration.
null
, if no templates exist.getConfig()
Script getConfig()
Returns the script for the configuration of the package.
null
, if the script doesn't exist.getTemplates()
ConfigFiles getConfigFiles()
Returns the configuration files which are managed by this package.
null
, if no configuration
files are specified.SharedLibraries getSharedLibraries()
Returns the shared libraries of this package.
null
, if no shared libraries
are specified.Symbols getSymbols()
Returns the symbols of the shared libraries of this package.
null
, if no symbols are specified.Copyright getCopyright()
Returns the copyright of this package.
null
, if no copyright is specified.ChangeLog getChangeLog()
Returns the change log of this package.
null
, if no change log is
specified.Copyright © 2015–2019. All rights reserved.