org.apache.maven.profiles
Class DefaultProfileManager
java.lang.Object
org.apache.maven.profiles.DefaultProfileManager
- All Implemented Interfaces:
- ProfileManager
public class DefaultProfileManager
- extends java.lang.Object
- implements ProfileManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultProfileManager
public DefaultProfileManager(org.codehaus.plexus.PlexusContainer container)
DefaultProfileManager
public DefaultProfileManager(org.codehaus.plexus.PlexusContainer container,
org.apache.maven.settings.Settings settings)
getProfilesById
public java.util.Map getProfilesById()
- Specified by:
getProfilesById
in interface ProfileManager
addProfile
public void addProfile(org.apache.maven.model.Profile profile)
- Specified by:
addProfile
in interface ProfileManager
explicitlyActivate
public void explicitlyActivate(java.lang.String profileId)
- Specified by:
explicitlyActivate
in interface ProfileManager
explicitlyActivate
public void explicitlyActivate(java.util.List profileIds)
- Specified by:
explicitlyActivate
in interface ProfileManager
explicitlyDeactivate
public void explicitlyDeactivate(java.lang.String profileId)
- Specified by:
explicitlyDeactivate
in interface ProfileManager
explicitlyDeactivate
public void explicitlyDeactivate(java.util.List profileIds)
- Specified by:
explicitlyDeactivate
in interface ProfileManager
getActiveProfiles
public java.util.List getActiveProfiles()
throws ProfileActivationException
- Specified by:
getActiveProfiles
in interface ProfileManager
- Throws:
ProfileActivationException
addProfiles
public void addProfiles(java.util.List profiles)
- Specified by:
addProfiles
in interface ProfileManager
activateAsDefault
public void activateAsDefault(java.lang.String profileId)
- Specified by:
activateAsDefault
in interface ProfileManager
getExplicitlyActivatedIds
public java.util.List getExplicitlyActivatedIds()
- Specified by:
getExplicitlyActivatedIds
in interface ProfileManager
getExplicitlyDeactivatedIds
public java.util.List getExplicitlyDeactivatedIds()
- Specified by:
getExplicitlyDeactivatedIds
in interface ProfileManager
getIdsActivatedByDefault
public java.util.List getIdsActivatedByDefault()
- Specified by:
getIdsActivatedByDefault
in interface ProfileManager
loadSettingsProfiles
public void loadSettingsProfiles(org.apache.maven.settings.Settings settings)
- Specified by:
loadSettingsProfiles
in interface ProfileManager
Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.