public class JdkPrefixProfileActivator extends DetectedProfileActivator
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
JDK_VERSION |
ROLE
Constructor and Description |
---|
JdkPrefixProfileActivator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canDetectActivation(Profile profile) |
private java.lang.String |
convertJdkToMavenVersion(java.lang.String jdk) |
protected java.lang.String |
getJdkVersion() |
boolean |
isActive(Profile profile) |
private boolean |
matchJdkVersionRange(java.lang.String jdk) |
canDetermineActivation
public boolean isActive(Profile profile) throws ProfileActivationException
ProfileActivationException
private boolean matchJdkVersionRange(java.lang.String jdk) throws InvalidVersionSpecificationException
private java.lang.String convertJdkToMavenVersion(java.lang.String jdk)
protected java.lang.String getJdkVersion()
protected boolean canDetectActivation(Profile profile)
canDetectActivation
in class DetectedProfileActivator