Manifest
@Deprecated public interface OsgiManifest extends Manifest
Modifier and Type | Method | Description |
---|---|---|
File |
getClassesDir() |
Deprecated.
Returns the classes dir.
|
FileCollection |
getClasspath() |
Deprecated.
Returns the classpath.
|
String |
getDescription() |
Deprecated.
Returns the description.
|
String |
getDocURL() |
Deprecated.
Returns the docURL value.
|
Map<String,List<String>> |
getInstructions() |
Deprecated.
Returns all existing instruction.
|
String |
getLicense() |
Deprecated.
Returns the license.
|
String |
getName() |
Deprecated.
Returns the name.
|
String |
getSymbolicName() |
Deprecated.
Returns the symbolic name.
|
String |
getVendor() |
Deprecated.
Returns the vendor.
|
String |
getVersion() |
Deprecated.
Returns the version.
|
OsgiManifest |
instruction(String name,
String... values) |
Deprecated.
Adds arguments to an instruction.
|
OsgiManifest |
instructionFirst(String name,
String... values) |
Deprecated.
Adds arguments to an instruction.
|
OsgiManifest |
instructionReplace(String name,
String... values) |
Deprecated.
Sets the values for an instruction.
|
List<String> |
instructionValue(String instructionName) |
Deprecated.
Returns the list of arguments for a particular instruction.
|
void |
setClassesDir(File classesDir) |
Deprecated.
Sets the classes dir.
|
void |
setClasspath(FileCollection classpath) |
Deprecated.
A convenient method for setting a Bundle-Classpath instruction.
|
void |
setDescription(String description) |
Deprecated.
A convenient method for setting a Bundle-Description instruction.
|
void |
setDocURL(String docURL) |
Deprecated.
A convenient method for setting a Bundle-DocURL instruction.
|
void |
setLicense(String license) |
Deprecated.
A convenient method for setting a Bundle-License instruction.
|
void |
setName(String name) |
Deprecated.
A convenient method for setting a Bundle-Name instruction.
|
void |
setSymbolicName(String symbolicName) |
Deprecated.
A convenient method for setting a Bundle-SymbolicName instruction.
|
void |
setVendor(String vendor) |
Deprecated.
A convenient method for setting a Bundle-Vendor instruction.
|
void |
setVersion(String version) |
Deprecated.
A convenient method for setting a Bundle-Version instruction.
|
attributes, attributes, from, from, from, getAttributes, getEffectiveManifest, getSections, writeTo
List<String> instructionValue(String instructionName)
instruction(String, String...)
OsgiManifest instruction(String name, String... values)
instructionFirst(String, String...)
,
instructionReplace(String, String...)
OsgiManifest instructionFirst(String name, String... values)
name
- Name of the instruction.values
- The values for the instruction.instruction(String, String...)
,
instructionReplace(String, String...)
OsgiManifest instructionReplace(String name, String... values)
name
- Name of the instruction.values
- The values for the instruction.instruction(String, String...)
,
instructionFirst(String, String...)
Map<String,List<String>> getInstructions()
String getSymbolicName()
setSymbolicName(String)
void setSymbolicName(String symbolicName)
symbolicName
- the symbolicName to setString getName()
setName(String)
void setName(String name)
name
- the name to setString getVersion()
setVersion(String)
void setVersion(String version)
version
- the version to setString getDescription()
setDescription(String)
void setDescription(String description)
description
- the description to setString getLicense()
setLicense(String)
void setLicense(String license)
license
- The license to setString getVendor()
setVendor(String)
void setVendor(String vendor)
vendor
- The vendor to setString getDocURL()
setDocURL(String)
void setDocURL(String docURL)
docURL
- the docURL to set.File getClassesDir()
setClassesDir(java.io.File)
void setClassesDir(File classesDir)
instruction(String, String...)
FileCollection getClasspath()
void setClasspath(FileCollection classpath)
classpath
- The classpath elements