Package aQute.bnd.exporter.subsystem
Enum ContainerType
- java.lang.Object
-
- java.lang.Enum<ContainerType>
-
- aQute.bnd.exporter.subsystem.ContainerType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ContainerType>
public enum ContainerType extends java.lang.Enum<ContainerType>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
categoryKey
private java.lang.String
contactAddressKey
private java.lang.String
copyrightKey
private java.lang.String
descriptionKey
private java.lang.String
docURLKey
private java.lang.String
extension
private java.lang.String
localizationDefaultBasenameKey
private java.lang.String
localizationKey
private java.lang.String
manifestUri
private java.lang.String
nameKey
private java.lang.String
symbolicNameKey
private java.lang.String
vendorKey
private java.lang.String
versionKey
-
Constructor Summary
Constructors Modifier Constructor Description private
ContainerType(java.lang.String extension, java.lang.String localizationKey, java.lang.String localizationDefaultBasenameKey, java.lang.String manifestUri, java.lang.String symbolicNameKey, java.lang.String versionKey, java.lang.String nameKey, java.lang.String descriptionKey, java.lang.String copyrightKey, java.lang.String docURLKey, java.lang.String vendorKey, java.lang.String contactAddressKey, java.lang.String categoryKey)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContainerType
byFile(java.io.File file)
java.lang.String
getCategoryKey()
java.lang.String
getContactAddressKey()
java.lang.String
getCopyrightKey()
java.lang.String
getDescriptionKey()
java.lang.String
getDocURLKey()
java.lang.String
getExtension()
java.lang.String
getLocalizationDefaultBasenameKey()
java.lang.String
getLocalizationKey()
java.lang.String
getManifestURI()
java.lang.String
getNameKey()
java.lang.String
getSymbolicNameKey()
java.lang.String
getVendorKey()
java.lang.String
getVersionKey()
static ContainerType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ContainerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUNDLE
public static final ContainerType BUNDLE
-
SUBSYSTEM
public static final ContainerType SUBSYSTEM
-
-
Field Detail
-
localizationDefaultBasenameKey
private final java.lang.String localizationDefaultBasenameKey
-
categoryKey
private final java.lang.String categoryKey
-
contactAddressKey
private final java.lang.String contactAddressKey
-
copyrightKey
private final java.lang.String copyrightKey
-
descriptionKey
private final java.lang.String descriptionKey
-
docURLKey
private final java.lang.String docURLKey
-
extension
private final java.lang.String extension
-
localizationKey
private final java.lang.String localizationKey
-
manifestUri
private final java.lang.String manifestUri
-
nameKey
private final java.lang.String nameKey
-
symbolicNameKey
private final java.lang.String symbolicNameKey
-
vendorKey
private final java.lang.String vendorKey
-
versionKey
private final java.lang.String versionKey
-
-
Constructor Detail
-
ContainerType
private ContainerType(java.lang.String extension, java.lang.String localizationKey, java.lang.String localizationDefaultBasenameKey, java.lang.String manifestUri, java.lang.String symbolicNameKey, java.lang.String versionKey, java.lang.String nameKey, java.lang.String descriptionKey, java.lang.String copyrightKey, java.lang.String docURLKey, java.lang.String vendorKey, java.lang.String contactAddressKey, java.lang.String categoryKey)
-
-
Method Detail
-
values
public static ContainerType[] 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 (ContainerType c : ContainerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContainerType 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
-
getLocalizationDefaultBasenameKey
public java.lang.String getLocalizationDefaultBasenameKey()
-
getCategoryKey
public java.lang.String getCategoryKey()
-
getContactAddressKey
public java.lang.String getContactAddressKey()
-
getCopyrightKey
public java.lang.String getCopyrightKey()
-
getDescriptionKey
public java.lang.String getDescriptionKey()
-
getDocURLKey
public java.lang.String getDocURLKey()
-
getExtension
public java.lang.String getExtension()
-
getLocalizationKey
public java.lang.String getLocalizationKey()
-
getManifestURI
public java.lang.String getManifestURI()
-
getNameKey
public java.lang.String getNameKey()
-
getSymbolicNameKey
public java.lang.String getSymbolicNameKey()
-
getVendorKey
public java.lang.String getVendorKey()
-
getVersionKey
public java.lang.String getVersionKey()
-
byFile
public static ContainerType byFile(java.io.File file)
-
-