Class SystemPropertyProfileActivator
- java.lang.Object
-
- org.apache.maven.profiles.activation.DetectedProfileActivator
-
- 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
Constructors Constructor Description SystemPropertyProfileActivator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanDetectActivation(org.apache.maven.model.Profile profile)voidcontextualize(org.codehaus.plexus.context.Context context)booleanisActive(org.apache.maven.model.Profile profile)-
Methods inherited from class org.apache.maven.profiles.activation.DetectedProfileActivator
canDetermineActivation
-
-
-
-
Method Detail
-
contextualize
public void contextualize(org.codehaus.plexus.context.Context context) throws org.codehaus.plexus.context.ContextException- Specified by:
contextualizein interfaceorg.codehaus.plexus.personality.plexus.lifecycle.phase.Contextualizable- Throws:
org.codehaus.plexus.context.ContextException
-
canDetectActivation
protected boolean canDetectActivation(org.apache.maven.model.Profile profile)
- Specified by:
canDetectActivationin classDetectedProfileActivator
-
isActive
public boolean isActive(org.apache.maven.model.Profile profile) throws ProfileActivationException- Specified by:
isActivein interfaceProfileActivator- Throws:
ProfileActivationException
-
-