org.apache.maven.profiles
Class DefaultProfileManager

java.lang.Object
  extended by org.apache.maven.profiles.DefaultProfileManager
All Implemented Interfaces:
ProfileManager

Deprecated.

@Deprecated
public class DefaultProfileManager
extends Object
implements ProfileManager


Constructor Summary
DefaultProfileManager(org.codehaus.plexus.PlexusContainer container)
          Deprecated. without passing in the system properties, the SystemPropertiesProfileActivator will not work correctly in embedded envirnments.
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
 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.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultProfileManager

public DefaultProfileManager(org.codehaus.plexus.PlexusContainer container)
Deprecated. without passing in the system properties, the SystemPropertiesProfileActivator will not work correctly in embedded envirnments.


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 interface ProfileManager

getProfilesById

public Map getProfilesById()
Deprecated. 
Specified by:
getProfilesById in interface ProfileManager

addProfile

public void addProfile(Profile profile)
Deprecated. 
Specified by:
addProfile in interface ProfileManager

explicitlyActivate

public void explicitlyActivate(String profileId)
Deprecated. 
Specified by:
explicitlyActivate in interface ProfileManager

explicitlyActivate

public void explicitlyActivate(List profileIds)
Deprecated. 
Specified by:
explicitlyActivate in interface ProfileManager

explicitlyDeactivate

public void explicitlyDeactivate(String profileId)
Deprecated. 
Specified by:
explicitlyDeactivate in interface ProfileManager

explicitlyDeactivate

public void explicitlyDeactivate(List profileIds)
Deprecated. 
Specified by:
explicitlyDeactivate in interface ProfileManager

getActiveProfiles

public List getActiveProfiles()
                       throws ProfileActivationException
Deprecated. 
Specified by:
getActiveProfiles in interface ProfileManager
Throws:
ProfileActivationException

addProfiles

public void addProfiles(List profiles)
Deprecated. 
Specified by:
addProfiles in interface ProfileManager

activateAsDefault

public void activateAsDefault(String profileId)
Deprecated. 

getExplicitlyActivatedIds

public List getExplicitlyActivatedIds()
Deprecated. 
Specified by:
getExplicitlyActivatedIds in interface ProfileManager

getExplicitlyDeactivatedIds

public List getExplicitlyDeactivatedIds()
Deprecated. 
Specified by:
getExplicitlyDeactivatedIds in interface ProfileManager

getIdsActivatedByDefault

public List getIdsActivatedByDefault()
Deprecated. 
Specified by:
getIdsActivatedByDefault in interface ProfileManager


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.