Package org.eclipse.packager.rpm
Enum FileFlags
- java.lang.Object
-
- java.lang.Enum<FileFlags>
-
- org.eclipse.packager.rpm.FileFlags
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.EnumSet<FileFlags>decode(int flagValue)intgetValue()static FileFlagsvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FileFlags[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONFIGURATION
public static final FileFlags CONFIGURATION
-
DOC
public static final FileFlags DOC
-
ICON
public static final FileFlags ICON
-
MISSINGOK
public static final FileFlags MISSINGOK
-
NOREPLACE
public static final FileFlags NOREPLACE
-
GHOST
public static final FileFlags GHOST
-
LICENSE
public static final FileFlags LICENSE
-
README
public static final FileFlags README
-
PUBKEY
public static final FileFlags PUBKEY
-
ARTIFACT
public static final FileFlags ARTIFACT
-
-
Method Detail
-
values
public static FileFlags[] 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 (FileFlags c : FileFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileFlags 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 int getValue()
-
decode
public static java.util.EnumSet<FileFlags> decode(int flagValue)
-
-