public interface ProfileTransaction
Modifier and Type | Interface and Description |
---|---|
static class |
ProfileTransaction.CommitContext
Customizes the resolution and commit process of a
profile transaction . |
static interface |
ProfileTransaction.Resolution |
Modifier and Type | Method and Description |
---|---|
boolean |
commit() |
boolean |
commit(IProgressMonitor monitor) |
boolean |
commit(ProfileTransaction.CommitContext commitContext,
IProgressMonitor monitor) |
String |
getInstallableUnitProperty(IInstallableUnit iu,
String key) |
Profile |
getProfile() |
ProfileDefinition |
getProfileDefinition() |
String |
getProfileProperty(String key) |
boolean |
isDirty() |
boolean |
isMirrors() |
boolean |
isRemoveExistingInstallableUnits() |
ProfileTransaction |
removeInstallableUnitProperty(IInstallableUnit iu,
String key) |
ProfileTransaction |
removeProfileProperty(String key) |
ProfileTransaction.Resolution |
resolve(ProfileTransaction.CommitContext commitContext,
IProgressMonitor monitor) |
ProfileTransaction |
setInstallableUnitProperty(IInstallableUnit iu,
String key,
String value) |
ProfileTransaction |
setMirrors(boolean mirrors) |
ProfileTransaction |
setProfileProperty(String key,
String value) |
ProfileTransaction |
setRemoveExistingInstallableUnits(boolean removeAll) |
Profile getProfile()
ProfileDefinition getProfileDefinition()
ProfileTransaction setProfileProperty(String key, String value)
ProfileTransaction removeProfileProperty(String key)
String getInstallableUnitProperty(IInstallableUnit iu, String key)
ProfileTransaction setInstallableUnitProperty(IInstallableUnit iu, String key, String value)
ProfileTransaction removeInstallableUnitProperty(IInstallableUnit iu, String key)
boolean isRemoveExistingInstallableUnits()
ProfileTransaction setRemoveExistingInstallableUnits(boolean removeAll)
boolean isMirrors()
ProfileTransaction setMirrors(boolean mirrors)
boolean isDirty()
boolean commit() throws CoreException
CoreException
boolean commit(IProgressMonitor monitor) throws CoreException
CoreException
boolean commit(ProfileTransaction.CommitContext commitContext, IProgressMonitor monitor) throws CoreException
CoreException
ProfileTransaction.Resolution resolve(ProfileTransaction.CommitContext commitContext, IProgressMonitor monitor) throws CoreException
CoreException
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