@Deprecated public class DefaultProfileManager extends Object implements ProfileManager
| Constructor and Description | 
|---|
| DefaultProfileManager(org.codehaus.plexus.PlexusContainer container)Deprecated. 
 without passing in the system properties, the SystemPropertiesProfileActivator will not work
             correctly in embedded environments. | 
| DefaultProfileManager(org.codehaus.plexus.PlexusContainer container,
                     Properties props)Deprecated.  the properties passed to the profile manager are the props that
 are passed to maven, possibly containing profile activator properties | 
| Modifier and Type | Method and Description | 
|---|---|
| void | activateAsDefault(String profileId)Deprecated.  | 
| void | addProfile(Profile profile)Deprecated.  | 
| void | addProfiles(List<Profile> profiles)Deprecated.  | 
| void | explicitlyActivate(List<String> profileIds)Deprecated.  | 
| void | explicitlyActivate(String profileId)Deprecated.  | 
| void | explicitlyDeactivate(List<String> profileIds)Deprecated.  | 
| void | explicitlyDeactivate(String profileId)Deprecated.  | 
| List | getActiveProfiles()Deprecated.  | 
| List<String> | getExplicitlyActivatedIds()Deprecated.  | 
| List<String> | getExplicitlyDeactivatedIds()Deprecated.  | 
| List | getIdsActivatedByDefault()Deprecated.  | 
| Map<String,Profile> | getProfilesById()Deprecated.  | 
| Properties | getRequestProperties()Deprecated.  | 
public DefaultProfileManager(org.codehaus.plexus.PlexusContainer container)
public DefaultProfileManager(org.codehaus.plexus.PlexusContainer container,
                             Properties props)
public Properties getRequestProperties()
getRequestProperties in interface ProfileManagerpublic Map<String,Profile> getProfilesById()
getProfilesById in interface ProfileManagerpublic void addProfile(Profile profile)
addProfile in interface ProfileManagerpublic void explicitlyActivate(String profileId)
explicitlyActivate in interface ProfileManagerpublic void explicitlyActivate(List<String> profileIds)
explicitlyActivate in interface ProfileManagerpublic void explicitlyDeactivate(String profileId)
explicitlyDeactivate in interface ProfileManagerpublic void explicitlyDeactivate(List<String> profileIds)
explicitlyDeactivate in interface ProfileManagerpublic List getActiveProfiles() throws ProfileActivationException
getActiveProfiles in interface ProfileManagerProfileActivationExceptionpublic void addProfiles(List<Profile> profiles)
addProfiles in interface ProfileManagerpublic void activateAsDefault(String profileId)
public List<String> getExplicitlyActivatedIds()
getExplicitlyActivatedIds in interface ProfileManagerpublic List<String> getExplicitlyDeactivatedIds()
getExplicitlyDeactivatedIds in interface ProfileManagerpublic List getIdsActivatedByDefault()
getIdsActivatedByDefault in interface ProfileManagerCopyright © 2001–2021 The Apache Software Foundation. All rights reserved.