Class HazelcastConfigResourceCondition

java.lang.Object
org.springframework.boot.autoconfigure.condition.SpringBootCondition
org.springframework.boot.autoconfigure.condition.ResourceCondition
org.springframework.boot.hazelcast.autoconfigure.HazelcastConfigResourceCondition
All Implemented Interfaces:
org.springframework.context.annotation.Condition

public abstract class HazelcastConfigResourceCondition extends org.springframework.boot.autoconfigure.condition.ResourceCondition
SpringBootCondition used to check if the Hazelcast configuration is available. This either kicks in if a default configuration has been found or if configurable property referring to the resource to use has been set.
Since:
4.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    HazelcastConfigResourceCondition(String configSystemProperty, String... resourceLocations)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.springframework.boot.autoconfigure.condition.ConditionOutcome
    getResourceOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
     

    Methods inherited from class org.springframework.boot.autoconfigure.condition.ResourceCondition

    getMatchOutcome, startConditionMessage

    Methods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition

    anyMatches, logOutcome, matches, matches

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • HazelcastConfigResourceCondition

      protected HazelcastConfigResourceCondition(String configSystemProperty, String... resourceLocations)
  • Method Details

    • getResourceOutcome

      protected org.springframework.boot.autoconfigure.condition.ConditionOutcome getResourceOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata)
      Overrides:
      getResourceOutcome in class org.springframework.boot.autoconfigure.condition.ResourceCondition