public interface AgentManager
Modifier and Type | Field and Description |
---|---|
static String |
PROP_BUNDLE_POOL_LOCATION |
Modifier and Type | Method and Description |
---|---|
Agent |
addAgent(File location) |
Agent |
getAgent(File location) |
Set<File> |
getAgentLocations() |
Collection<Agent> |
getAgents() |
BundlePool |
getBundlePool(File location) |
Collection<BundlePool> |
getBundlePools() |
Agent |
getCurrentAgent() |
BundlePool |
getDefaultBundlePool(String client) |
boolean |
refreshAgents() |
void |
setDefaultBundlePool(String client,
BundlePool bundlePool) |
static final String PROP_BUNDLE_POOL_LOCATION
Agent getCurrentAgent()
Collection<Agent> getAgents()
boolean refreshAgents()
Collection<BundlePool> getBundlePools()
BundlePool getBundlePool(File location) throws P2Exception
P2Exception
BundlePool getDefaultBundlePool(String client) throws P2Exception
P2Exception
void setDefaultBundlePool(String client, BundlePool bundlePool)
Copyright (c) 2014 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v2.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v20.html