Package org.apache.maven.profiles
Class DefaultProfileManager
- java.lang.Object
-
- org.apache.maven.profiles.DefaultProfileManager
-
- All Implemented Interfaces:
ProfileManager
@Deprecated public class DefaultProfileManager extends java.lang.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, java.util.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 voidactivateAsDefault(java.lang.String profileId)Deprecated.voidaddProfile(org.apache.maven.model.Profile profile)Deprecated.voidaddProfiles(java.util.List<org.apache.maven.model.Profile> profiles)Deprecated.voidexplicitlyActivate(java.lang.String profileId)Deprecated.voidexplicitlyActivate(java.util.List<java.lang.String> profileIds)Deprecated.voidexplicitlyDeactivate(java.lang.String profileId)Deprecated.voidexplicitlyDeactivate(java.util.List<java.lang.String> profileIds)Deprecated.java.util.ListgetActiveProfiles()Deprecated.java.util.List<java.lang.String>getExplicitlyActivatedIds()Deprecated.java.util.List<java.lang.String>getExplicitlyDeactivatedIds()Deprecated.java.util.ListgetIdsActivatedByDefault()Deprecated.java.util.Map<java.lang.String,org.apache.maven.model.Profile>getProfilesById()Deprecated.java.util.PropertiesgetRequestProperties()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, java.util.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 java.util.Properties getRequestProperties()
Deprecated.- Specified by:
getRequestPropertiesin interfaceProfileManager
-
getProfilesById
public java.util.Map<java.lang.String,org.apache.maven.model.Profile> getProfilesById()
Deprecated.- Specified by:
getProfilesByIdin interfaceProfileManager
-
addProfile
public void addProfile(org.apache.maven.model.Profile profile)
Deprecated.- Specified by:
addProfilein interfaceProfileManager
-
explicitlyActivate
public void explicitlyActivate(java.lang.String profileId)
Deprecated.- Specified by:
explicitlyActivatein interfaceProfileManager
-
explicitlyActivate
public void explicitlyActivate(java.util.List<java.lang.String> profileIds)
Deprecated.- Specified by:
explicitlyActivatein interfaceProfileManager
-
explicitlyDeactivate
public void explicitlyDeactivate(java.lang.String profileId)
Deprecated.- Specified by:
explicitlyDeactivatein interfaceProfileManager
-
explicitlyDeactivate
public void explicitlyDeactivate(java.util.List<java.lang.String> profileIds)
Deprecated.- Specified by:
explicitlyDeactivatein interfaceProfileManager
-
getActiveProfiles
public java.util.List getActiveProfiles() throws ProfileActivationExceptionDeprecated.- Specified by:
getActiveProfilesin interfaceProfileManager- Throws:
ProfileActivationException
-
addProfiles
public void addProfiles(java.util.List<org.apache.maven.model.Profile> profiles)
Deprecated.- Specified by:
addProfilesin interfaceProfileManager
-
activateAsDefault
public void activateAsDefault(java.lang.String profileId)
Deprecated.
-
getExplicitlyActivatedIds
public java.util.List<java.lang.String> getExplicitlyActivatedIds()
Deprecated.- Specified by:
getExplicitlyActivatedIdsin interfaceProfileManager
-
getExplicitlyDeactivatedIds
public java.util.List<java.lang.String> getExplicitlyDeactivatedIds()
Deprecated.- Specified by:
getExplicitlyDeactivatedIdsin interfaceProfileManager
-
getIdsActivatedByDefault
public java.util.List getIdsActivatedByDefault()
Deprecated.- Specified by:
getIdsActivatedByDefaultin interfaceProfileManager
-
-