ShrinkWrap Resolver Maven Implementation 2.0.0-alpha-2

org.jboss.shrinkwrap.resolver.impl.maven.internal
Class SettingsXmlProfileSelector

java.lang.Object
  extended by org.jboss.shrinkwrap.resolver.impl.maven.internal.SettingsXmlProfileSelector
All Implemented Interfaces:
org.apache.maven.model.profile.ProfileSelector

public class SettingsXmlProfileSelector
extends Object
implements org.apache.maven.model.profile.ProfileSelector

ProfileSelector implementation backed by metadata defined by settings.xml

Author:
Karel Piwko

Constructor Summary
SettingsXmlProfileSelector()
           
 
Method Summary
static List<String> explicitlyActivatedProfiles(String... profiles)
           
static List<String> explicitlyDisabledProfiles(String... profiles)
           
 List<org.apache.maven.model.Profile> getActiveProfiles(Collection<org.apache.maven.model.Profile> profiles, org.apache.maven.model.profile.ProfileActivationContext context, org.apache.maven.model.building.ModelProblemCollector problems)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SettingsXmlProfileSelector

public SettingsXmlProfileSelector()
Method Detail

getActiveProfiles

public List<org.apache.maven.model.Profile> getActiveProfiles(Collection<org.apache.maven.model.Profile> profiles,
                                                              org.apache.maven.model.profile.ProfileActivationContext context,
                                                              org.apache.maven.model.building.ModelProblemCollector problems)
Specified by:
getActiveProfiles in interface org.apache.maven.model.profile.ProfileSelector

explicitlyActivatedProfiles

public static List<String> explicitlyActivatedProfiles(String... profiles)

explicitlyDisabledProfiles

public static List<String> explicitlyDisabledProfiles(String... profiles)

ShrinkWrap Resolver Maven Implementation 2.0.0-alpha-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.