Uses of Class
org.springframework.boot.autoconfigure.condition.ConditionMessage
Package
Description
@Condition
annotations and supporting classes.-
Uses of ConditionMessage in org.springframework.boot.autoconfigure.condition
Modifier and TypeMethodDescriptionReturn a newConditionMessage
based on the instance and an appended message.ConditionMessage.ItemsBuilder.atAll()
Used when no items are available.Indicates something is available.Indicates the reason.static ConditionMessage
ConditionMessage.empty()
Factory method to return a new emptyConditionMessage
.ConditionMessage.Builder.foundExactly
(Object result) Indicate that an exact result was found.ConditionOutcome.getConditionMessage()
Return an outcome message ornull
.Indicate the items.ConditionMessage.ItemsBuilder.items
(Collection<?> items) Indicate the items.ConditionMessage.ItemsBuilder.items
(ConditionMessage.Style style, Object... items) Indicate the items.ConditionMessage.ItemsBuilder.items
(ConditionMessage.Style style, Collection<?> items) Indicate the items with aConditionMessage.Style
.ConditionMessage.Builder.notAvailable
(String item) Indicates something is not available.static ConditionMessage
Factory method to create a newConditionMessage
with a specific message.static ConditionMessage
ConditionMessage.of
(Collection<? extends ConditionMessage> messages) Factory method to create a newConditionMessage
comprised of the specified messages.ConditionMessage.Builder.resultedIn
(Object result) Indicates a single result.Modifier and TypeMethodDescriptionstatic ConditionOutcome
ConditionOutcome.match
(ConditionMessage message) Create a newConditionOutcome
instance for 'match'.static ConditionOutcome
ConditionOutcome.noMatch
(ConditionMessage message) Create a newConditionOutcome
instance for 'no match'.Modifier and TypeMethodDescriptionstatic ConditionMessage
ConditionMessage.of
(Collection<? extends ConditionMessage> messages) Factory method to create a newConditionMessage
comprised of the specified messages.ModifierConstructorDescriptionConditionOutcome
(boolean match, ConditionMessage message) Create a newConditionOutcome
instance.