public static interface EditorBuilder.Conditional<ELEMENT>
| Modifier and Type | Method and Description |
|---|---|
EditorBuilder |
otherwiseApply(Consumer<ELEMENT> builder)
Defines a configuration to be applied if condition is not met.
|
EditorBuilder.Conditional<ELEMENT> |
then(Consumer<ELEMENT> builder)
Defines a configuration to be applied if condition is met
|
EditorBuilder |
thenApply(Consumer<ELEMENT> builder)
Defines a configuration to be applied if condition is met without a possibility to define fallback.
|
EditorBuilder.Conditional<ELEMENT> then(Consumer<ELEMENT> builder)
builder - builder to configurethenApply(Consumer)EditorBuilder thenApply(Consumer<ELEMENT> builder)
builder - builder to configureotherwiseApply(Consumer)EditorBuilder otherwiseApply(Consumer<ELEMENT> builder)
builder - builder to configurethenApply(Consumer)Copyright © 2018. All rights reserved.