public interface IProfileManager
| Modifier and Type | Method and Description |
|---|---|
Map<org.apache.maven.model.Profile,Boolean> |
getAvailableSettingsProfiles()
Returns an unmodifiable
Map of all available Profiles converted from the
org.apache.maven.profiles.Profiles as defined in settings.xml.The value of each Entry indicates if the profile is active. |
List<ProfileData> |
getProfileDatas(IMavenProjectFacade mavenProjectFacade,
org.eclipse.core.runtime.IProgressMonitor monitor)
Returns a List of
ProfileData for the given mavenProjectFacade |
void |
updateActiveProfiles(IMavenProjectFacade mavenProjectFacade,
List<String> profiles,
boolean isOffline,
boolean isForceUpdate,
org.eclipse.core.runtime.IProgressMonitor monitor)
Update the profiles of the resolver configuration of a
IMavenProjectFacade synchronously. |
List<ProfileData> getProfileDatas(IMavenProjectFacade mavenProjectFacade, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
ProfileData for the given mavenProjectFacademavenProjectFacade - a facade of the maven projectmonitor - a progress monitorProfileData for the given mavenProjectFacade.org.eclipse.core.runtime.CoreExceptionMap<org.apache.maven.model.Profile,Boolean> getAvailableSettingsProfiles() throws org.eclipse.core.runtime.CoreException
Map of all available Profiles converted from the
org.apache.maven.profiles.Profiles as defined in settings.xml.Entry indicates if the profile is active.Map of all the available profiles for a given project.org.eclipse.core.runtime.CoreExceptionvoid updateActiveProfiles(IMavenProjectFacade mavenProjectFacade, List<String> profiles, boolean isOffline, boolean isForceUpdate, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
IMavenProjectFacade synchronously.mavenProjectFacade - a facade of the maven projectprofiles - the profile ids to use in the project's resolver configurationisOffline - indicates if the maven request must be executed offlineisForceUpdate - indicates if a check for updated releases and snapshots on remote repositories must be forced.monitor - a progress monitororg.eclipse.core.runtime.CoreExceptionCopyright © 2005–2021 Eclipse Foundation. All rights reserved.