|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.aries.unittest.fixture.ArchiveFixture.AbstractFixture
org.apache.aries.unittest.fixture.ArchiveFixture.ManifestFixture
public static class ArchiveFixture.ManifestFixture
Fixture for (bundle) manifests. By default, they contain the lines
Manifest-Version: 1
Bundle-ManifestVersion: 2
| Constructor Summary | |
|---|---|
protected |
ArchiveFixture.ManifestFixture(ArchiveFixture.ZipFixture parent)
|
| Method Summary | |
|---|---|
ArchiveFixture.ManifestFixture |
attribute(String name,
String value)
Add a custom attribute to the manifest. |
protected Manifest |
getManifest()
|
ArchiveFixture.ManifestFixture |
symbolicName(String name)
Set the symbolic name of the bundle |
ArchiveFixture.ManifestFixture |
version(String version)
Set the version of the bundle |
void |
writeOut(OutputStream out)
Write the physical representation of the fixture to the given OutputStream |
| Methods inherited from class org.apache.aries.unittest.fixture.ArchiveFixture.AbstractFixture |
|---|
end |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected ArchiveFixture.ManifestFixture(ArchiveFixture.ZipFixture parent)
| Method Detail |
|---|
protected Manifest getManifest()
public ArchiveFixture.ManifestFixture symbolicName(String name)
name -
public ArchiveFixture.ManifestFixture version(String version)
version -
public ArchiveFixture.ManifestFixture attribute(String name,
String value)
name - value -
public void writeOut(OutputStream out)
throws IOException
ArchiveFixture.Fixture
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||