|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.model.profile.DefaultProfileSelector
@Component(role=ProfileSelector.class) public class DefaultProfileSelector
Calculates the active profiles among a given collection of profiles.
Constructor Summary | |
---|---|
DefaultProfileSelector()
|
Method Summary | |
---|---|
DefaultProfileSelector |
addProfileActivator(ProfileActivator profileActivator)
|
java.util.List<Profile> |
getActiveProfiles(java.util.Collection<Profile> profiles,
ProfileActivationContext context,
ModelProblemCollector problems)
Determines the profiles which are active in the specified activation context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultProfileSelector()
Method Detail |
---|
public DefaultProfileSelector addProfileActivator(ProfileActivator profileActivator)
public java.util.List<Profile> getActiveProfiles(java.util.Collection<Profile> profiles, ProfileActivationContext context, ModelProblemCollector problems)
ProfileSelector
getActiveProfiles
in interface ProfileSelector
profiles
- The profiles whose activation status should be determined, must not be null
.context
- The environmental context used to determine the activation status of a profile, must not be
null
.problems
- The container used to collect problems that were encountered, must not be null
.
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |