public enum UpdateMethod extends Enum<UpdateMethod>
| Enum Constant and Description |
|---|
DEBIANDebian package manager |
FILELocal file |
GNUTELLAGnutella protocol |
HTTPHTTP via .i2p or outproxy |
HTTP_CLEARNETDirect HTTP via clearnet |
HTTPS_CLEARNETDirect HTTPS via clearnet |
IMULEIMule protocol |
METHOD_DUMMYDummy: internal use only |
TAHOE_LAFSTahoe-LAFS protocol |
TORRENTBitTorrent protocol |
| Modifier and Type | Method and Description |
|---|---|
static UpdateMethod | valueOf(String name)Returns the enum constant of this type with the specified name. |
static UpdateMethod[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. |
public static final UpdateMethod DEBIAN
public static final UpdateMethod FILE
public static final UpdateMethod GNUTELLA
public static final UpdateMethod HTTP
public static final UpdateMethod HTTP_CLEARNET
public static final UpdateMethod HTTPS_CLEARNET
public static final UpdateMethod IMULE
public static final UpdateMethod METHOD_DUMMY
public static final UpdateMethod TAHOE_LAFS
public static final UpdateMethod TORRENT
public static UpdateMethod valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static UpdateMethod[] values()
for (UpdateMethod c : UpdateMethod.values()) System.out.println(c);