Serializable
, Comparable<UpdateMethod>
public enum UpdateMethod extends Enum<UpdateMethod>
Enum Constant | Description |
---|---|
DEBIAN |
|
FILE |
|
GNUTELLA |
|
HTTP |
|
HTTP_CLEARNET |
|
HTTPS_CLEARNET |
|
IMULE |
|
METHOD_DUMMY |
|
TAHOE_LAFS |
|
TORRENT |
Modifier and Type | Method | 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 METHOD_DUMMY
public static final UpdateMethod HTTP
public static final UpdateMethod HTTP_CLEARNET
public static final UpdateMethod HTTPS_CLEARNET
public static final UpdateMethod TORRENT
public static final UpdateMethod GNUTELLA
public static final UpdateMethod IMULE
public static final UpdateMethod TAHOE_LAFS
public static final UpdateMethod DEBIAN
public static final UpdateMethod FILE
public static UpdateMethod[] values()
for (UpdateMethod c : UpdateMethod.values()) System.out.println(c);
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 null