Package org.eclipse.packager.rpm
Enum RpmSignatureTag
- java.lang.Object
-
- java.lang.Enum<RpmSignatureTag>
-
- org.eclipse.packager.rpm.RpmSignatureTag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<RpmSignatureTag>,RpmBaseTag
public enum RpmSignatureTag extends java.lang.Enum<RpmSignatureTag> implements RpmBaseTag
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LONGARCHIVESIZELONGSIZEMD5PAYLOAD_SIZEPGPPUBKEYSRSAHEADERSHA1HEADERSHA256HEADERSIZE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RpmSignatureTagfind(java.lang.Integer value)java.lang.IntegergetValue()Get the key value of the tagstatic RpmSignatureTagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static RpmSignatureTag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBKEYS
public static final RpmSignatureTag PUBKEYS
-
RSAHEADER
public static final RpmSignatureTag RSAHEADER
-
SHA1HEADER
public static final RpmSignatureTag SHA1HEADER
-
LONGARCHIVESIZE
public static final RpmSignatureTag LONGARCHIVESIZE
-
SHA256HEADER
public static final RpmSignatureTag SHA256HEADER
-
SIZE
public static final RpmSignatureTag SIZE
-
PGP
public static final RpmSignatureTag PGP
-
MD5
public static final RpmSignatureTag MD5
-
PAYLOAD_SIZE
public static final RpmSignatureTag PAYLOAD_SIZE
-
LONGSIZE
public static final RpmSignatureTag LONGSIZE
-
-
Method Detail
-
values
public static RpmSignatureTag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RpmSignatureTag c : RpmSignatureTag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RpmSignatureTag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public java.lang.Integer getValue()
Description copied from interface:RpmBaseTagGet the key value of the tagAn Integer object is used since the main use case of the key value is to be used in maps.
- Specified by:
getValuein interfaceRpmBaseTag- Returns:
- the key value
-
find
public static RpmSignatureTag find(java.lang.Integer value)
-
-