ProfileManager@Deprecated public class DefaultProfileManager extends java.lang.Object implements ProfileManager
| 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
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
activateAsDefault(java.lang.String profileId) |
Deprecated.
|
void |
addProfile(org.apache.maven.model.Profile profile) |
Deprecated.
|
void |
addProfiles(java.util.List<org.apache.maven.model.Profile> profiles) |
Deprecated.
|
void |
explicitlyActivate(java.lang.String profileId) |
Deprecated.
|
void |
explicitlyActivate(java.util.List<java.lang.String> profileIds) |
Deprecated.
|
void |
explicitlyDeactivate(java.lang.String profileId) |
Deprecated.
|
void |
explicitlyDeactivate(java.util.List<java.lang.String> profileIds) |
Deprecated.
|
java.util.List |
getActiveProfiles() |
Deprecated.
|
java.util.List<java.lang.String> |
getExplicitlyActivatedIds() |
Deprecated.
|
java.util.List<java.lang.String> |
getExplicitlyDeactivatedIds() |
Deprecated.
|
java.util.List |
getIdsActivatedByDefault() |
Deprecated.
|
java.util.Map<java.lang.String,org.apache.maven.model.Profile> |
getProfilesById() |
Deprecated.
|
java.util.Properties |
getRequestProperties() |
Deprecated.
|
public DefaultProfileManager(org.codehaus.plexus.PlexusContainer container)
public DefaultProfileManager(org.codehaus.plexus.PlexusContainer container,
java.util.Properties props)
public java.util.Properties getRequestProperties()
getRequestProperties in interface ProfileManagerpublic java.util.Map<java.lang.String,org.apache.maven.model.Profile> getProfilesById()
getProfilesById in interface ProfileManagerpublic void addProfile(org.apache.maven.model.Profile profile)
addProfile in interface ProfileManagerpublic void explicitlyActivate(java.lang.String profileId)
explicitlyActivate in interface ProfileManagerpublic void explicitlyActivate(java.util.List<java.lang.String> profileIds)
explicitlyActivate in interface ProfileManagerpublic void explicitlyDeactivate(java.lang.String profileId)
explicitlyDeactivate in interface ProfileManagerpublic void explicitlyDeactivate(java.util.List<java.lang.String> profileIds)
explicitlyDeactivate in interface ProfileManagerpublic java.util.List getActiveProfiles()
throws ProfileActivationException
getActiveProfiles in interface ProfileManagerProfileActivationExceptionpublic void addProfiles(java.util.List<org.apache.maven.model.Profile> profiles)
addProfiles in interface ProfileManagerpublic void activateAsDefault(java.lang.String profileId)
public java.util.List<java.lang.String> getExplicitlyActivatedIds()
getExplicitlyActivatedIds in interface ProfileManagerpublic java.util.List<java.lang.String> getExplicitlyDeactivatedIds()
getExplicitlyDeactivatedIds in interface ProfileManagerpublic java.util.List getIdsActivatedByDefault()
getIdsActivatedByDefault in interface ProfileManager