|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.deb.ControlFile
public final class ControlFile
This class builds the control file used by the debian archive. The getters only for use by the tests.
Constructor Summary | |
---|---|
ControlFile()
|
Method Summary | |
---|---|
void |
build()
This function build the control file. |
java.lang.String |
getContents()
|
java.lang.String |
getDebFileName()
|
java.lang.String |
getErrors()
|
java.lang.String |
getLicense()
|
java.lang.String |
getSnapshot()
Returns the snapshot signature. |
boolean |
isNonUs()
|
void |
setArchitecture(java.lang.String architecture)
Sets the package architecture. |
void |
setConflicts(java.lang.String conflicts)
Sets the other packages this package conflicts with. |
void |
setDebFileName(java.lang.String debFileName)
Sets the package file name. |
void |
setDepends(java.lang.String depends)
Sets the dependencies of the package. |
void |
setEnhances(java.lang.String enhances)
Sets the other packages this package enhances |
void |
setEssential(java.lang.String essential)
Sets the essential flag. |
void |
setLicense(java.lang.String license)
Sets the license of the package. |
void |
setMaintainer(java.lang.String maintainer)
Sets the maintainer field. |
void |
setNonUs(boolean nonUs)
Sets the non-us flag. |
void |
setPackageName(java.lang.String packageName)
Sets the package name. |
void |
setPrepedends(java.lang.String predepends)
Sets the pre dependent packages. |
void |
setPriority(java.lang.String priority)
Sets the priority of this package. |
void |
setProject(org.apache.maven.project.Project project)
Sets the POM of the project |
void |
setProvides(java.lang.String provides)
Sets the packages this package provides. |
void |
setRecommends(java.lang.String recommends)
Sets the other packages this package recommends. |
void |
setReplaces(java.lang.String replaces)
Sets the packages this package replaces. |
void |
setSection(java.lang.String section)
Sets the section this package goes in. |
void |
setSnapshot(java.lang.String snapshot)
Sets the snapshot signature. |
void |
setSuggests(java.lang.String suggests)
Sets the other packages this package suggests. |
void |
setVersion(java.lang.String version)
Sets the package version. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ControlFile()
Method Detail |
---|
public void setPackageName(java.lang.String packageName)
packageName
- The package name.public void setVersion(java.lang.String version)
version
- The package version.public void setSection(java.lang.String section)
section
- The section name.public void setPriority(java.lang.String priority)
priority
- The priority of the package.public void setArchitecture(java.lang.String architecture)
architecture
- The package architecture.public void setEssential(java.lang.String essential)
essential
- The essential flag.public void setDepends(java.lang.String depends)
depends
- The dependencies.public void setRecommends(java.lang.String recommends)
recommends
- The recommenden packages.public void setSuggests(java.lang.String suggests)
suggests
- The suggested packages.public void setEnhances(java.lang.String enhances)
enhances
- The packages this package enhances.public void setPrepedends(java.lang.String predepends)
predepends
- The predependent package names.public void setConflicts(java.lang.String conflicts)
conflicts
- The packages this package conflicts with.public void setReplaces(java.lang.String replaces)
replaces
- The packages this package replaces.public void setProvides(java.lang.String provides)
provides
- The packages this package provides.public void setMaintainer(java.lang.String maintainer)
maintainer
- The maintainer field.public void setNonUs(boolean nonUs)
nonUs
- The non-us flag.public boolean isNonUs()
public void setLicense(java.lang.String license)
license
- The license.public java.lang.String getLicense()
public void setProject(org.apache.maven.project.Project project)
project
- The project.public void setDebFileName(java.lang.String debFileName)
debFileName
- The package file name.public java.lang.String getDebFileName()
public void setSnapshot(java.lang.String snapshot)
snapshot
- The snapshot signature.public java.lang.String getSnapshot()
public void build()
null
.
public java.lang.String getErrors()
public java.lang.String getContents()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |