|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MaintainerScript.Type>
com.threerings.jpkg.debian.MaintainerScript.Type
public static enum MaintainerScript.Type
The types of Debian maintainer scripts and the file names they should have.
Enum Constant Summary | |
---|---|
POSTINST
The postinst maintainer script. |
|
POSTRM
The postrm maintainer script. |
|
PREINST
The preinst maintainer script. |
|
PRERM
The prerm maintainer script. |
Method Summary | |
---|---|
String |
getFilename()
Returns the filename used for this maintainer script in the control tar file. |
static MaintainerScript.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MaintainerScript.Type[] |
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 MaintainerScript.Type PREINST
public static final MaintainerScript.Type POSTINST
public static final MaintainerScript.Type PRERM
public static final MaintainerScript.Type POSTRM
Method Detail |
---|
public static final MaintainerScript.Type[] values()
for(MaintainerScript.Type c : MaintainerScript.Type.values()) System.out.println(c);
public static MaintainerScript.Type 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 getFilename()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |