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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHazelcastConfigResourceCondition(String configSystemProperty, String... resourceLocations) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.boot.autoconfigure.condition.ConditionOutcomegetResourceOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) Methods inherited from class org.springframework.boot.autoconfigure.condition.ResourceCondition
getMatchOutcome, startConditionMessageMethods inherited from class org.springframework.boot.autoconfigure.condition.SpringBootCondition
anyMatches, logOutcome, matches, matches
-
Field Details
-
HAZELCAST_CONFIG_PROPERTY
- See Also:
-
-
Constructor Details
-
HazelcastConfigResourceCondition
-
-
Method Details
-
getResourceOutcome
protected org.springframework.boot.autoconfigure.condition.ConditionOutcome getResourceOutcome(org.springframework.context.annotation.ConditionContext context, org.springframework.core.type.AnnotatedTypeMetadata metadata) - Overrides:
getResourceOutcomein classorg.springframework.boot.autoconfigure.condition.ResourceCondition
-