Package com.artipie.rpm.pkg
Enum WeakDepsTags
- All Implemented Interfaces:
Serializable
,Comparable<WeakDepsTags>
,org.redline_rpm.header.AbstractHeader.Tag
public enum WeakDepsTags
extends Enum<WeakDepsTags>
implements org.redline_rpm.header.AbstractHeader.Tag
- Since:
- 1.11
-
Enum Constant Summary
-
Field Summary
Fields inherited from interface org.redline_rpm.header.AbstractHeader.Tag
ASN1_ENTRY, BIN_ENTRY, CHAR_ENTRY, I18NSTRING_ENTRY, INT16_ENTRY, INT32_ENTRY, INT64_ENTRY, INT8_ENTRY, NULL_ENTRY, OPENPGP_ENTRY, STRING_ARRAY_ENTRY, STRING_ENTRY
-
Method Summary
Modifier and TypeMethodDescriptionint
getCode()
getName()
int
getType()
static WeakDepsTags
Returns the enum constant of this type with the specified name.static WeakDepsTags[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RECOMMENDNAME
-
RECOMMENDVERSION
-
RECOMMENDFLAGS
-
SUGGESTNAME
-
SUGGESTVERSION
-
SUGGESTFLAGS
-
SUPPLEMENTNAME
-
SUPPLEMENTVERSION
-
SUPPLEMENTFLAGS
-
ENHANCENAME
-
ENHANCEVERSION
-
ENHANCEFLAGS
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
public int getCode()- Specified by:
getCode
in interfaceorg.redline_rpm.header.AbstractHeader.Tag
-
getType
public int getType()- Specified by:
getType
in interfaceorg.redline_rpm.header.AbstractHeader.Tag
-
getName
- Specified by:
getName
in interfaceorg.redline_rpm.header.AbstractHeader.Tag
-