public enum UpdateMethod extends Enum<UpdateMethod>
| Enum Constant and Description |
|---|
DEBIAN
Debian package manager
|
FILE
Local file
|
GNUTELLA
Gnutella protocol
|
HTTP
HTTP via .i2p or outproxy
|
HTTP_CLEARNET
Direct HTTP via clearnet
|
HTTPS_CLEARNET
Direct HTTPS via clearnet
|
IMULE
IMule protocol
|
METHOD_DUMMY
Dummy: internal use only
|
TAHOE_LAFS
Tahoe-LAFS protocol
|
TORRENT
BitTorrent 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);