|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OsgiManifest
Represents a manifest file for a JAR containing an OSGi bundle.
Method Summary | |
---|---|
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 exisiting 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. |
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. |
Methods inherited from interface org.gradle.api.java.archives.Manifest |
---|
attributes, attributes, from, from, getAttributes, getEffectiveManifest, getSections, writeTo, writeTo |
Method Detail |
---|
List<String> instructionValue(String instructionName)
instructionName
-
instruction(String, String...)
OsgiManifest instruction(String name, String... values)
name
- values
-
instructionFirst(String, String...)
OsgiManifest instructionFirst(String name, String... values)
name
- values
-
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)
classesDir
- instruction(String, String...)
FileCollection getClasspath()
setClasspath(org.gradle.api.file.FileCollection)
void setClasspath(FileCollection classpath)
classpath
- The classpath elements
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |