|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PackagePriority>
com.threerings.jpkg.debian.PackagePriority
public enum PackagePriority
Holds the valid Debian package priorities. Descriptions for the fields come from the Debian Policy Manual.
Enum Constant Summary | |
---|---|
EXTRA
"This contains all packages that conflict with others with required, important, standard or optional priorities, or are only likely to be useful if you already know what they are or have specialized requirements." |
|
IMPORTANT
"Important programs, including those which one would expect to find on any Unix-like system." |
|
OPTIONAL
"This is all the software that you might reasonably want to install if you didn't know what it was and don't have specialized requirements." |
|
REQUIRED
"Packages which are necessary for the proper functioning of the system (usually, this means that dpkg functionality depends on these packages)." |
|
STANDARD
"These packages provide a reasonably small but not too limited character-mode system." |
Method Summary | |
---|---|
String |
getField()
Returns the field of the Debian control file this data belongs in. |
String |
getFieldValue()
Returns the data in this class formatted for the Debian control file. |
static PackagePriority |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PackagePriority[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final PackagePriority REQUIRED
public static final PackagePriority IMPORTANT
public static final PackagePriority STANDARD
public static final PackagePriority OPTIONAL
public static final PackagePriority EXTRA
Method Detail |
---|
public static final PackagePriority[] values()
for(PackagePriority c : PackagePriority.values()) System.out.println(c);
public static PackagePriority valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic String getField()
ControlFileData
getField
in interface ControlFileData
public String getFieldValue()
ControlFileData
getFieldValue
in interface ControlFileData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |