Package org.springframework.boot.autoconfigure.condition.ConditionalOnJava

Examples of org.springframework.boot.autoconfigure.condition.ConditionalOnJava.JavaVersion


  public ConditionOutcome getMatchOutcome(ConditionContext context,
      AnnotatedTypeMetadata metadata) {
    Map<String, Object> attributes = metadata
        .getAnnotationAttributes(ConditionalOnJava.class.getName());
    Range range = (Range) attributes.get("range");
    JavaVersion version = (JavaVersion) attributes.get("value");
    return getMatchOutcome(range, JVM_VERSION, version);
  }
View Full Code Here

TOP

Related Classes of org.springframework.boot.autoconfigure.condition.ConditionalOnJava.JavaVersion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.