org.apache.maven.profiles.activation
Class SystemPropertyProfileActivator

java.lang.Object
  extended by org.apache.maven.profiles.activation.DetectedProfileActivator
      extended by org.apache.maven.profiles.activation.SystemPropertyProfileActivator
All Implemented Interfaces:
ProfileActivator, org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable

public class SystemPropertyProfileActivator
extends DetectedProfileActivator
implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable


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

Constructor Detail

SystemPropertyProfileActivator

public SystemPropertyProfileActivator()
Method Detail

contextualize

public void contextualize(org.codehaus.plexus.context.Context context)
                   throws org.codehaus.plexus.context.ContextException
Specified by:
contextualize in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable
Throws:
org.codehaus.plexus.context.ContextException

canDetectActivation

protected boolean canDetectActivation(Profile profile)
Specified by:
canDetectActivation in class DetectedProfileActivator

isActive

public boolean isActive(Profile profile)
                 throws ProfileActivationException
Specified by:
isActive in interface ProfileActivator
Throws:
ProfileActivationException


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