org.apache.maven.profiles.activation
Class DetectedProfileActivator

java.lang.Object
  extended by org.apache.maven.profiles.activation.DetectedProfileActivator
All Implemented Interfaces:
ProfileActivator, org.codehaus.plexus.logging.LogEnabled
Direct Known Subclasses:
JdkPrefixProfileActivator, SystemPropertyProfileActivator

public abstract class DetectedProfileActivator
extends java.lang.Object
implements ProfileActivator, org.codehaus.plexus.logging.LogEnabled


Field Summary
 
Fields inherited from interface org.apache.maven.profiles.activation.ProfileActivator
ROLE
 
Constructor Summary
DetectedProfileActivator()
           
 
Method Summary
protected abstract  boolean canDetectActivation(Profile profile, ProfileActivationContext context)
           
 boolean canDetermineActivation(Profile profile, ProfileActivationContext context)
           
 void enableLogging(org.codehaus.plexus.logging.Logger logger)
           
protected  org.codehaus.plexus.logging.Logger getLogger()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.profiles.activation.ProfileActivator
isActive
 

Constructor Detail

DetectedProfileActivator

public DetectedProfileActivator()
Method Detail

canDetermineActivation

public boolean canDetermineActivation(Profile profile,
                                      ProfileActivationContext context)
Specified by:
canDetermineActivation in interface ProfileActivator

getLogger

protected org.codehaus.plexus.logging.Logger getLogger()

enableLogging

public void enableLogging(org.codehaus.plexus.logging.Logger logger)
Specified by:
enableLogging in interface org.codehaus.plexus.logging.LogEnabled

canDetectActivation

protected abstract boolean canDetectActivation(Profile profile,
                                               ProfileActivationContext context)


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