public class ResultSpyAction
extends java.lang.Object
implements org.eclipse.equinox.p2.publisher.IPublisherAction
Publisher.| Modifier and Type | Field and Description |
|---|---|
private java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
allIUs |
private java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
rootIUs |
| Constructor and Description |
|---|
ResultSpyAction() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkPerformed() |
java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
getAllIUs()
Returns all IUs in the publisher result at the time when this action was invoked by the
Publisher. |
java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> |
getRootIUs()
Returns the root IUs in the publisher result at the time when this action was invoked by the
Publisher. |
org.eclipse.core.runtime.IStatus |
perform(org.eclipse.equinox.p2.publisher.IPublisherInfo info,
org.eclipse.equinox.p2.publisher.IPublisherResult results,
org.eclipse.core.runtime.IProgressMonitor monitor) |
private boolean |
wasPerformed() |
private java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> rootIUs
private java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> allIUs
public org.eclipse.core.runtime.IStatus perform(org.eclipse.equinox.p2.publisher.IPublisherInfo info,
org.eclipse.equinox.p2.publisher.IPublisherResult results,
org.eclipse.core.runtime.IProgressMonitor monitor)
perform in interface org.eclipse.equinox.p2.publisher.IPublisherActionpublic java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> getRootIUs()
throws java.lang.IllegalStateException
Publisher.java.lang.IllegalStateException - if the action has not been performed.public java.util.Collection<org.eclipse.equinox.p2.metadata.IInstallableUnit> getAllIUs()
throws java.lang.IllegalStateException
Publisher.java.lang.IllegalStateException - if the action has not been performed.private boolean wasPerformed()
private void checkPerformed()
throws java.lang.IllegalStateException
java.lang.IllegalStateException