Package | Description |
---|---|
org.springframework.boot.autoconfigure.condition |
@Condition annotations and supporting classes. |
Modifier and Type | Method and Description |
---|---|
ConditionMessage |
ConditionMessage.append(String message)
Return a new
ConditionMessage based on the instance and an appended
message. |
ConditionMessage |
ConditionMessage.ItemsBuilder.atAll()
Used when no items are available.
|
ConditionMessage |
ConditionMessage.Builder.available(String item)
Indicates something is available.
|
ConditionMessage |
ConditionMessage.Builder.because(String reason)
Indicates the reason.
|
static ConditionMessage |
ConditionMessage.empty()
Factory method to return a new empty
ConditionMessage . |
ConditionMessage |
ConditionMessage.Builder.foundExactly(Object result)
Indicate that an exact result was found.
|
ConditionMessage |
ConditionOutcome.getConditionMessage()
Return an outcome message or
null . |
ConditionMessage |
ConditionMessage.ItemsBuilder.items(Collection<?> items)
Indicate the items.
|
ConditionMessage |
ConditionMessage.ItemsBuilder.items(ConditionMessage.Style style,
Collection<?> items)
Indicate the items with a
ConditionMessage.Style . |
ConditionMessage |
ConditionMessage.ItemsBuilder.items(ConditionMessage.Style style,
Object... items)
Indicate the items.
|
ConditionMessage |
ConditionMessage.ItemsBuilder.items(Object... items)
Indicate the items.
|
ConditionMessage |
ConditionMessage.Builder.notAvailable(String item)
Indicates something is not available.
|
static ConditionMessage |
ConditionMessage.of(Collection<? extends ConditionMessage> messages)
Factory method to create a new
ConditionMessage comprised of the specified
messages. |
static ConditionMessage |
ConditionMessage.of(String message,
Object... args)
Factory method to create a new
ConditionMessage with a specific message. |
ConditionMessage |
ConditionMessage.Builder.resultedIn(Object result)
Indicates a single result.
|
Modifier and Type | Method and Description |
---|---|
static ConditionOutcome |
ConditionOutcome.match(ConditionMessage message)
Create a new
ConditionOutcome instance for 'match'. |
static ConditionOutcome |
ConditionOutcome.noMatch(ConditionMessage message)
Create a new
ConditionOutcome instance for 'no match'. |
Modifier and Type | Method and Description |
---|---|
static ConditionMessage |
ConditionMessage.of(Collection<? extends ConditionMessage> messages)
Factory method to create a new
ConditionMessage comprised of the specified
messages. |
Constructor and Description |
---|
ConditionOutcome(boolean match,
ConditionMessage message)
Create a new
ConditionOutcome instance. |
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.