Class InstallableUnitPublisher

java.lang.Object
org.eclipse.tycho.p2maven.InstallableUnitPublisher

@Component(role=InstallableUnitPublisher.class) public class InstallableUnitPublisher extends Object
Component that helps publishing units using publisher actions
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyAdvices(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> units, org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor, Collection<? extends org.eclipse.equinox.p2.publisher.IPublisherAdvice> advices)
     
    Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit>
    publishMetadata(Collection<? extends org.eclipse.equinox.p2.publisher.IPublisherAction> actions)
    perform the provided IPublisherActions and return a (modifiable) collection of the resulting IInstallableUnits
    Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit>
    publishMetadata(Collection<? extends org.eclipse.equinox.p2.publisher.IPublisherAction> actions, Collection<? extends org.eclipse.equinox.p2.publisher.IPublisherAdvice> advices)
    perform the provided IPublisherActions and return a (modifiable) collection of the resulting IInstallableUnits

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InstallableUnitPublisher

      public InstallableUnitPublisher()
  • Method Details

    • publishMetadata

      public Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> publishMetadata(Collection<? extends org.eclipse.equinox.p2.publisher.IPublisherAction> actions) throws org.eclipse.core.runtime.CoreException
      perform the provided IPublisherActions and return a (modifiable) collection of the resulting IInstallableUnits
      Parameters:
      actions - the IPublisherActions to perform
      Returns:
      the result of the publishing operation
      Throws:
      org.eclipse.core.runtime.CoreException - if publishing of an action failed
    • publishMetadata

      public Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> publishMetadata(Collection<? extends org.eclipse.equinox.p2.publisher.IPublisherAction> actions, Collection<? extends org.eclipse.equinox.p2.publisher.IPublisherAdvice> advices) throws org.eclipse.core.runtime.CoreException
      perform the provided IPublisherActions and return a (modifiable) collection of the resulting IInstallableUnits
      Parameters:
      actions - the IPublisherActions to perform
      advices - additional IPublisherAdvices for the operation
      Returns:
      the result of the publishing operation
      Throws:
      org.eclipse.core.runtime.CoreException - if publishing of an action failed
    • applyAdvices

      public void applyAdvices(Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> units, org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor, Collection<? extends org.eclipse.equinox.p2.publisher.IPublisherAdvice> advices)