Delegate for the deb method's closure. This does all the work of building debian pckage files.
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
DEBIAN_BINARY_FILE |
|
static java.lang.String |
ERROR_MESSAGE |
|
java.lang.String |
architecture |
|
java.util.List<org.savantbuild.io.ArchiveFileSet> |
conf |
|
java.lang.String |
conflicts |
|
java.lang.String |
depends |
|
Description |
description |
|
java.util.Set<org.savantbuild.io.Directory> |
directories |
|
java.lang.String |
enhances |
|
java.util.List<org.savantbuild.io.ArchiveFileSet> |
files |
|
java.lang.String |
homepage |
|
Maintainer |
maintainer |
|
java.lang.String |
pkg |
|
java.nio.file.Path |
postInst |
|
java.nio.file.Path |
postRm |
|
java.lang.String |
preDepends |
|
java.nio.file.Path |
preInst |
|
java.nio.file.Path |
preRm |
|
java.lang.String |
priority |
|
org.savantbuild.domain.Project |
project |
|
java.lang.String |
provides |
|
java.lang.String |
recommends |
|
java.lang.String |
replaces |
|
java.lang.String |
section |
|
java.lang.String |
suggests |
|
java.nio.file.Path |
to |
|
Version |
version |
| Constructor and description |
|---|
DebDelegate
(java.util.Map<java.lang.String, java.lang.Object> attributes, org.savantbuild.domain.Project project) |
| Type | Name and description |
|---|---|
void |
build() |
void |
confFileSet(java.util.Map<java.lang.String, java.lang.Object> attributes)Adds a confFileSet: |
void |
description(java.util.Map<java.lang.String, java.lang.Object> attributes)Sets the description of the package: |
void |
directory(java.util.Map<java.lang.String, java.lang.Object> attributes)Adds a directory to the Debian package: |
void |
maintainer(java.util.Map<java.lang.String, java.lang.Object> attributes)Sets the maintainer of the package: |
void |
tarFileSet(java.util.Map<java.lang.String, java.lang.Object> attributes)Adds a TAR fileSet: |
void |
version(java.util.Map<java.lang.String, java.lang.Object> attributes)Sets the priority of the package: |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Adds a confFileSet:
confFileSet(dir: "someDir", prefix: "some-prefix")
attributes - The named attributes (dir is required).Sets the description of the package:
description(synopsis: "Cool package", extended: "Very cool package")
attributes - The named attributes.Adds a directory to the Debian package:
directory(name: "someDir", mode: 0x755)
attributes - The named attributes (name is required).Sets the maintainer of the package:
maintainer(name: "Joe Smith", email: "joe@smith.com")
attributes - The named attributes (name and email are required).Adds a TAR fileSet:
tarFileSet(dir: "someDir", prefix: "some-prefix")
attributes - The named attributes (dir is required).Sets the priority of the package:
priority(value: "required")
attributes - The named attributes (value is required).