org.apache.maven.profiles
Interface ProfileManager

All Known Implementing Classes:
DefaultProfileManager

public interface ProfileManager


Method Summary
 void activateAsDefault(java.lang.String profileId)
          Deprecated. Use ProfileActivationContext methods instead.
 void addProfile(Profile profile)
           
 void addProfiles(java.util.List profiles)
           
 void explicitlyActivate(java.util.List profileIds)
          Deprecated. Use ProfileActivationContext methods instead.
 void explicitlyActivate(java.lang.String profileId)
          Deprecated. Use ProfileActivationContext methods instead.
 void explicitlyDeactivate(java.util.List profileIds)
          Deprecated. Use ProfileActivationContext methods instead.
 void explicitlyDeactivate(java.lang.String profileId)
          Deprecated. Use ProfileActivationContext methods instead.
 java.util.List getActiveProfiles()
          Deprecated. Use getActiveProfiles(Model) instead.
 java.util.List getActiveProfiles(Model model)
           
 java.util.List getExplicitlyActivatedIds()
          Deprecated. Use ProfileActivationContext methods instead.
 java.util.List getExplicitlyDeactivatedIds()
          Deprecated. Use ProfileActivationContext methods instead.
 java.util.List getIdsActivatedByDefault()
          Deprecated. Use ProfileActivationContext methods instead.
 ProfileActivationContext getProfileActivationContext()
           
 java.util.Map getProfilesById()
           
 void setProfileActivationContext(ProfileActivationContext profileActivationContext)
           
 

Method Detail

addProfile

void addProfile(Profile profile)

explicitlyActivate

void explicitlyActivate(java.lang.String profileId)
Deprecated. Use ProfileActivationContext methods instead.


explicitlyActivate

void explicitlyActivate(java.util.List profileIds)
Deprecated. Use ProfileActivationContext methods instead.


explicitlyDeactivate

void explicitlyDeactivate(java.lang.String profileId)
Deprecated. Use ProfileActivationContext methods instead.


explicitlyDeactivate

void explicitlyDeactivate(java.util.List profileIds)
Deprecated. Use ProfileActivationContext methods instead.


activateAsDefault

void activateAsDefault(java.lang.String profileId)
Deprecated. Use ProfileActivationContext methods instead.


getProfileActivationContext

ProfileActivationContext getProfileActivationContext()

setProfileActivationContext

void setProfileActivationContext(ProfileActivationContext profileActivationContext)

getActiveProfiles

java.util.List getActiveProfiles()
                                 throws ProfileActivationException
Deprecated. Use getActiveProfiles(Model) instead.

Throws:
ProfileActivationException

addProfiles

void addProfiles(java.util.List profiles)

getProfilesById

java.util.Map getProfilesById()

getExplicitlyActivatedIds

java.util.List getExplicitlyActivatedIds()
Deprecated. Use ProfileActivationContext methods instead.


getExplicitlyDeactivatedIds

java.util.List getExplicitlyDeactivatedIds()
Deprecated. Use ProfileActivationContext methods instead.


getIdsActivatedByDefault

java.util.List getIdsActivatedByDefault()
Deprecated. Use ProfileActivationContext methods instead.


getActiveProfiles

java.util.List getActiveProfiles(Model model)
                                 throws ProfileActivationException
Throws:
ProfileActivationException


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