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 boolean
canDetectActivation(org.apache.maven.model.Profile profile)
void
contextualize(org.codehaus.plexus.context.Context context)
boolean
isActive(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:
contextualize
in 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:
canDetectActivation
in classDetectedProfileActivator
-
isActive
public boolean isActive(org.apache.maven.model.Profile profile) throws ProfileActivationException
- Specified by:
isActive
in interfaceProfileActivator
- Throws:
ProfileActivationException
-
-