| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.profiles.DefaultProfileManager
public class DefaultProfileManager
| 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)the properties passed to the profile manager are the props that are passed to maven, possibly containing profile activator properties | |
| DefaultProfileManager(org.codehaus.plexus.PlexusContainer container,
                      Settings settings)Deprecated. without passing in the system properties, the SystemPropertiesProfileActivator will not work correctly in embedded envirnments. | |
| DefaultProfileManager(org.codehaus.plexus.PlexusContainer container,
                      Settings settings,
                      Properties props)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) | 
|  void | addProfile(Profile profile) | 
|  void | addProfiles(List profiles) | 
|  void | explicitlyActivate(List profileIds) | 
|  void | explicitlyActivate(String profileId) | 
|  void | explicitlyDeactivate(List profileIds) | 
|  void | explicitlyDeactivate(String profileId) | 
|  List | getActiveProfiles() | 
|  List | getExplicitlyActivatedIds() | 
|  List | getExplicitlyDeactivatedIds() | 
|  List | getIdsActivatedByDefault() | 
|  Map | getProfilesById() | 
|  Properties | getRequestProperties() | 
|  void | loadSettingsProfiles(Settings settings) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DefaultProfileManager(org.codehaus.plexus.PlexusContainer container)
public DefaultProfileManager(org.codehaus.plexus.PlexusContainer container,
                             Properties props)
public DefaultProfileManager(org.codehaus.plexus.PlexusContainer container,
                             Settings settings)
public DefaultProfileManager(org.codehaus.plexus.PlexusContainer container,
                             Settings settings,
                             Properties props)
| Method Detail | 
|---|
public Properties getRequestProperties()
getRequestProperties in interface ProfileManagerpublic Map getProfilesById()
getProfilesById in interface ProfileManagerpublic void addProfile(Profile profile)
addProfile in interface ProfileManagerpublic void explicitlyActivate(String profileId)
explicitlyActivate in interface ProfileManagerpublic void explicitlyActivate(List profileIds)
explicitlyActivate in interface ProfileManagerpublic void explicitlyDeactivate(String profileId)
explicitlyDeactivate in interface ProfileManagerpublic void explicitlyDeactivate(List profileIds)
explicitlyDeactivate in interface ProfileManager
public List getActiveProfiles()
                       throws ProfileActivationException
getActiveProfiles in interface ProfileManagerProfileActivationExceptionpublic void addProfiles(List profiles)
addProfiles in interface ProfileManagerpublic void activateAsDefault(String profileId)
activateAsDefault in interface ProfileManagerpublic List getExplicitlyActivatedIds()
getExplicitlyActivatedIds in interface ProfileManagerpublic List getExplicitlyDeactivatedIds()
getExplicitlyDeactivatedIds in interface ProfileManagerpublic List getIdsActivatedByDefault()
getIdsActivatedByDefault in interface ProfileManagerpublic void loadSettingsProfiles(Settings settings)
loadSettingsProfiles in interface ProfileManager| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||