@Deprecated public class DefaultProfileManager extends Object implements ProfileManager
Constructor and Description |
---|
DefaultProfileManager(PlexusContainer container)
Deprecated.
without passing in the system properties, the SystemPropertiesProfileActivator will not work
correctly in embedded envirnments.
|
DefaultProfileManager(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 profiles)
Deprecated.
|
void |
explicitlyActivate(List profileIds)
Deprecated.
|
void |
explicitlyActivate(String profileId)
Deprecated.
|
void |
explicitlyDeactivate(List profileIds)
Deprecated.
|
void |
explicitlyDeactivate(String profileId)
Deprecated.
|
List |
getActiveProfiles()
Deprecated.
|
List |
getExplicitlyActivatedIds()
Deprecated.
|
List |
getExplicitlyDeactivatedIds()
Deprecated.
|
List |
getIdsActivatedByDefault()
Deprecated.
|
Map |
getProfilesById()
Deprecated.
|
Properties |
getRequestProperties()
Deprecated.
|
public DefaultProfileManager(PlexusContainer container)
public DefaultProfileManager(PlexusContainer container, Properties props)
public Properties getRequestProperties()
getRequestProperties
in interface ProfileManager
public Map getProfilesById()
getProfilesById
in interface ProfileManager
public void addProfile(Profile profile)
addProfile
in interface ProfileManager
public void explicitlyActivate(String profileId)
explicitlyActivate
in interface ProfileManager
public void explicitlyActivate(List profileIds)
explicitlyActivate
in interface ProfileManager
public void explicitlyDeactivate(String profileId)
explicitlyDeactivate
in interface ProfileManager
public void explicitlyDeactivate(List profileIds)
explicitlyDeactivate
in interface ProfileManager
public List getActiveProfiles() throws ProfileActivationException
getActiveProfiles
in interface ProfileManager
ProfileActivationException
public void addProfiles(List profiles)
addProfiles
in interface ProfileManager
public void activateAsDefault(String profileId)
public List getExplicitlyActivatedIds()
getExplicitlyActivatedIds
in interface ProfileManager
public List getExplicitlyDeactivatedIds()
getExplicitlyDeactivatedIds
in interface ProfileManager
public List getIdsActivatedByDefault()
getIdsActivatedByDefault
in interface ProfileManager
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.