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