org.sonatype.tycho.p2
Interface MetadataSerializable

All Known Implementing Classes:
MetadataSerializableImpl

public interface MetadataSerializable

Represents a p2 metadata repository. Facade only exposes serialized form (content.xml).


Method Summary
 void serialize(java.io.OutputStream stream, java.util.Set<java.lang.Object> installableUnits, java.lang.String qualifier)
          Serialises the content of this repository into the output stream.
 

Method Detail

serialize

void serialize(java.io.OutputStream stream,
               java.util.Set<java.lang.Object> installableUnits,
               java.lang.String qualifier)
               throws java.io.IOException
Serialises the content of this repository into the output stream. If qualifier is not null, replaces the build qualifier with the given value. The caller is responsible for closing the stream.

Throws:
java.io.IOException


Copyright © 2008-2011. All Rights Reserved.