Class JdkPrefixProfileActivator
- java.lang.Object
-
- org.apache.maven.profiles.activation.DetectedProfileActivator
-
- org.apache.maven.profiles.activation.JdkPrefixProfileActivator
-
- All Implemented Interfaces:
ProfileActivator
@Deprecated public class JdkPrefixProfileActivator extends DetectedProfileActivator
Deprecated.JdkPrefixProfileActivator
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.StringJDK_VERSIONDeprecated.-
Fields inherited from interface org.apache.maven.profiles.activation.ProfileActivator
ROLE
-
-
Constructor Summary
Constructors Constructor Description JdkPrefixProfileActivator()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleancanDetectActivation(Profile profile)Deprecated.private java.lang.StringconvertJdkToMavenVersion(java.lang.String jdk)Deprecated.protected java.lang.StringgetJdkVersion()Deprecated.booleanisActive(Profile profile)Deprecated.private booleanmatchJdkVersionRange(java.lang.String jdk)Deprecated.-
Methods inherited from class org.apache.maven.profiles.activation.DetectedProfileActivator
canDetermineActivation
-
-
-
-
Method Detail
-
isActive
public boolean isActive(Profile profile) throws ProfileActivationException
Deprecated.- Throws:
ProfileActivationException
-
matchJdkVersionRange
private boolean matchJdkVersionRange(java.lang.String jdk) throws InvalidVersionSpecificationExceptionDeprecated.
-
convertJdkToMavenVersion
private java.lang.String convertJdkToMavenVersion(java.lang.String jdk)
Deprecated.
-
getJdkVersion
protected java.lang.String getJdkVersion()
Deprecated.
-
canDetectActivation
protected boolean canDetectActivation(Profile profile)
Deprecated.- Specified by:
canDetectActivationin classDetectedProfileActivator
-
-