Package org.apache.maven.profiles
Class DefaultProfileManager
- java.lang.Object
-
- org.apache.maven.profiles.DefaultProfileManager
-
- All Implemented Interfaces:
ProfileManager
@Deprecated public class DefaultProfileManager extends Object implements ProfileManager
Deprecated.DefaultProfileManager
-
-
Constructor Summary
Constructors Constructor 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
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
activateAsDefault(String profileId)
Deprecated.void
addProfile(Profile profile)
Deprecated.void
addProfiles(List<Profile> profiles)
Deprecated.void
explicitlyActivate(String profileId)
Deprecated.void
explicitlyActivate(List<String> profileIds)
Deprecated.void
explicitlyDeactivate(String profileId)
Deprecated.void
explicitlyDeactivate(List<String> profileIds)
Deprecated.List
getActiveProfiles()
Deprecated.List<String>
getExplicitlyActivatedIds()
Deprecated.List<String>
getExplicitlyDeactivatedIds()
Deprecated.List
getIdsActivatedByDefault()
Deprecated.Map<String,Profile>
getProfilesById()
Deprecated.Properties
getRequestProperties()
Deprecated.
-
-
-
Constructor Detail
-
DefaultProfileManager
@Deprecated public DefaultProfileManager(org.codehaus.plexus.PlexusContainer container)
Deprecated.without passing in the system properties, the SystemPropertiesProfileActivator will not work correctly in embedded environments.
-
DefaultProfileManager
public 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
-
-
Method Detail
-
getRequestProperties
public Properties getRequestProperties()
Deprecated.- Specified by:
getRequestProperties
in interfaceProfileManager
-
getProfilesById
public Map<String,Profile> getProfilesById()
Deprecated.- Specified by:
getProfilesById
in interfaceProfileManager
-
addProfile
public void addProfile(Profile profile)
Deprecated.- Specified by:
addProfile
in interfaceProfileManager
-
explicitlyActivate
public void explicitlyActivate(String profileId)
Deprecated.- Specified by:
explicitlyActivate
in interfaceProfileManager
-
explicitlyActivate
public void explicitlyActivate(List<String> profileIds)
Deprecated.- Specified by:
explicitlyActivate
in interfaceProfileManager
-
explicitlyDeactivate
public void explicitlyDeactivate(String profileId)
Deprecated.- Specified by:
explicitlyDeactivate
in interfaceProfileManager
-
explicitlyDeactivate
public void explicitlyDeactivate(List<String> profileIds)
Deprecated.- Specified by:
explicitlyDeactivate
in interfaceProfileManager
-
getActiveProfiles
public List getActiveProfiles() throws ProfileActivationException
Deprecated.- Specified by:
getActiveProfiles
in interfaceProfileManager
- Throws:
ProfileActivationException
-
addProfiles
public void addProfiles(List<Profile> profiles)
Deprecated.- Specified by:
addProfiles
in interfaceProfileManager
-
activateAsDefault
public void activateAsDefault(String profileId)
Deprecated.
-
getExplicitlyActivatedIds
public List<String> getExplicitlyActivatedIds()
Deprecated.- Specified by:
getExplicitlyActivatedIds
in interfaceProfileManager
-
getExplicitlyDeactivatedIds
public List<String> getExplicitlyDeactivatedIds()
Deprecated.- Specified by:
getExplicitlyDeactivatedIds
in interfaceProfileManager
-
getIdsActivatedByDefault
public List getIdsActivatedByDefault()
Deprecated.- Specified by:
getIdsActivatedByDefault
in interfaceProfileManager
-
-