public class MavenDiscoveryInstallOperation extends Object implements org.eclipse.jface.operation.IRunnableWithProgress
Constructor and Description |
---|
MavenDiscoveryInstallOperation(Collection<org.eclipse.equinox.internal.p2.discovery.model.CatalogItem> installableConnectors,
org.eclipse.jface.operation.IRunnableWithProgress postInstallHook,
boolean restart) |
MavenDiscoveryInstallOperation(Collection<org.eclipse.equinox.internal.p2.discovery.model.CatalogItem> installableConnectors,
org.eclipse.jface.operation.IRunnableWithProgress postInstallHook,
boolean restart,
boolean shouldResolve,
Collection<String> projectsToConfigure) |
Modifier and Type | Method and Description |
---|---|
protected List<org.eclipse.equinox.p2.repository.metadata.IMetadataRepository> |
addRepositories(org.eclipse.core.runtime.SubMonitor monitor) |
org.eclipse.equinox.p2.metadata.IInstallableUnit[] |
computeInstallableUnits(org.eclipse.core.runtime.IProgressMonitor progressMonitor) |
protected Set<org.eclipse.equinox.p2.metadata.IVersionedId> |
getDescriptorIds(org.eclipse.equinox.p2.repository.metadata.IMetadataRepository repository) |
RestartInstallOperation |
getOperation() |
void |
run(org.eclipse.core.runtime.IProgressMonitor progressMonitor) |
public MavenDiscoveryInstallOperation(Collection<org.eclipse.equinox.internal.p2.discovery.model.CatalogItem> installableConnectors, org.eclipse.jface.operation.IRunnableWithProgress postInstallHook, boolean restart)
public MavenDiscoveryInstallOperation(Collection<org.eclipse.equinox.internal.p2.discovery.model.CatalogItem> installableConnectors, org.eclipse.jface.operation.IRunnableWithProgress postInstallHook, boolean restart, boolean shouldResolve, Collection<String> projectsToConfigure)
public void run(org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws InvocationTargetException, InterruptedException
run
in interface org.eclipse.jface.operation.IRunnableWithProgress
InvocationTargetException
InterruptedException
public RestartInstallOperation getOperation()
public org.eclipse.equinox.p2.metadata.IInstallableUnit[] computeInstallableUnits(org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
protected Set<org.eclipse.equinox.p2.metadata.IVersionedId> getDescriptorIds(org.eclipse.equinox.p2.repository.metadata.IMetadataRepository repository)
protected List<org.eclipse.equinox.p2.repository.metadata.IMetadataRepository> addRepositories(org.eclipse.core.runtime.SubMonitor monitor)
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.