- All Implemented Interfaces:
Serializable, Comparable<UpdateMethod>, java.lang.constant.Constable
Transport mechanism for getting something.
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDebian package manager.Local file.Gnutella protocol.HTTP via .i2p or outproxy.Direct HTTP via clearnet.Direct HTTPS via clearnet.IMule protocol.Dummy: internal use only.Tahoe-LAFS protocol.BitTorrent protocol.Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionstatic UpdateMethodReturns the enum constant of this class with the specified name.static UpdateMethod[]values()Returns an array containing the constants of this enum class, in the order they are declared.
Enum Constant Details
METHOD_DUMMY
Dummy: internal use only.HTTP
HTTP via .i2p or outproxy.HTTP_CLEARNET
Direct HTTP via clearnet.HTTPS_CLEARNET
Direct HTTPS via clearnet.TORRENT
BitTorrent protocol.GNUTELLA
Gnutella protocol.IMULE
IMule protocol.TAHOE_LAFS
Tahoe-LAFS protocol.DEBIAN
Debian package manager.FILE
Local file.
Constructor Details
UpdateMethod
private UpdateMethod()
Method Details
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null