|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.threerings.jpkg.debian.dependency.DependencyAlternatives
public class DependencyAlternatives
Holds a list of Dependency objects representing a list of packages that a given package must depend on only one of.
Constructor Summary | |
---|---|
DependencyAlternatives(List<PackageDependency> dependencies)
Construct a list of alternative dependencies for a package to depend on. |
|
DependencyAlternatives(PackageDependency... dependencies)
Construct a varargs list of alternative dependencies for a package to depend on. |
Method Summary | |
---|---|
String |
asString()
Returns the string representation of this dependency, formatted for the Debian package control file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DependencyAlternatives(PackageDependency... dependencies)
DependencyAlternatives(List)
public DependencyAlternatives(List<PackageDependency> dependencies)
Method Detail |
---|
public String asString()
ControlFileDependency
asString
in interface ControlFileDependency
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |