Module io.inverno.tool.buildtools
Package io.inverno.tool.buildtools
Interface PackageApplicationTask.LinuxConfiguration
- Enclosing interface:
PackageApplicationTask
public static interface PackageApplicationTask.LinuxConfiguration
Linux specific configuration.
- Since:
- 1.4
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionReturns the group value of the RPM /.spec file or Section value of DEB control file.Returns the release value of the RPM<name>.spec
file or Debian revision value of the DEB control file.Returns the Debian package maintainer.Returns the Menu group this application is placed in.Returns the required packages or capabilities for the application.Returns the name of the linux packageReturns the type of the license ("License: value" of the RPM .spec).default boolean
Determines whether a shortcut must be created when installing the application.
-
Method Details
-
getPackageName
Returns the name of the linux package
- Returns:
- an optional returning the package name or an empty optional
-
getDebMaintainer
Returns the Debian package maintainer.
- Returns:
- an optional returning the Debian package maintainer or an empty optional
-
getMenuGroup
Returns the Menu group this application is placed in.
- Returns:
- an optional returning the Menu group or an empty optional
-
getPackageDeps
Returns the required packages or capabilities for the application.
- Returns:
- an optional returning the required packages or capabilities for the application or an empty optional
-
getRpmLicenseType
Returns the type of the license ("License: value" of the RPM .spec).
- Returns:
- an optional returning the type of the license or an empty optional
-
getAppRelease
Returns the release value of the RPM
<name>.spec
file or Debian revision value of the DEB control file.- Returns:
- an optional returning the release value or an empty optional
-
getAppCategory
Returns the group value of the RPM /.spec file or Section value of DEB control file.
- Returns:
- an optional returning the group value or an empty optional
-
isShortcut
default boolean isShortcut()Determines whether a shortcut must be created when installing the application.
- Returns:
- true to create a shortcut, false otherwise
-