Class MetadataSerializableImpl

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.eclipse.equinox.p2.core.IProvisioningAgent agent  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void serialize​(java.io.OutputStream stream, java.util.Set<?> installableUnits)
      Writes the given set of installable units to the given output stream in standard p2 metadata repository format.
      private java.util.List<org.eclipse.equinox.p2.metadata.IInstallableUnit> toInstallableUnits​(java.util.Set<?> installableUnits)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • agent

        private final org.eclipse.equinox.p2.core.IProvisioningAgent agent
    • Constructor Detail

      • MetadataSerializableImpl

        public MetadataSerializableImpl()
                                 throws org.eclipse.equinox.p2.core.ProvisionException
        Throws:
        org.eclipse.equinox.p2.core.ProvisionException
    • Method Detail

      • serialize

        public void serialize​(java.io.OutputStream stream,
                              java.util.Set<?> installableUnits)
                       throws java.io.IOException
        Description copied from interface: MetadataSerializable
        Writes the given set of installable units to the given output stream in standard p2 metadata repository format. The caller is responsible for closing the stream.
        Specified by:
        serialize in interface MetadataSerializable
        Throws:
        java.io.IOException
      • toInstallableUnits

        private java.util.List<org.eclipse.equinox.p2.metadata.IInstallableUnit> toInstallableUnits​(java.util.Set<?> installableUnits)