Class JdkPrefixProfileActivator
- java.lang.Object
-
- org.apache.maven.profiles.activation.DetectedProfileActivator
-
- org.apache.maven.profiles.activation.JdkPrefixProfileActivator
-
- All Implemented Interfaces:
ProfileActivator
public class JdkPrefixProfileActivator extends DetectedProfileActivator
-
-
Field Summary
-
Fields inherited from interface org.apache.maven.profiles.activation.ProfileActivator
ROLE
-
-
Constructor Summary
Constructors Constructor Description JdkPrefixProfileActivator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canDetectActivation(org.apache.maven.model.Profile profile)
protected java.lang.String
getJdkVersion()
boolean
isActive(org.apache.maven.model.Profile profile)
-
Methods inherited from class org.apache.maven.profiles.activation.DetectedProfileActivator
canDetermineActivation
-
-
-
-
Method Detail
-
isActive
public boolean isActive(org.apache.maven.model.Profile profile) throws ProfileActivationException
- Throws:
ProfileActivationException
-
getJdkVersion
protected java.lang.String getJdkVersion()
-
canDetectActivation
protected boolean canDetectActivation(org.apache.maven.model.Profile profile)
- Specified by:
canDetectActivation
in classDetectedProfileActivator
-
-