Modifier and Type | Interface and Description |
---|---|
interface |
Conditional<C extends Conditional<C>>
Represents a condition used to gate certain behavior or components.
|
Modifier and Type | Method and Description |
---|---|
List<Conditional<?>> |
Component.getConditionals()
A set of conditions used to indicate when this component should be rendered.
|
List<Conditional<?>> |
AbstractComponent.getConditionals() |
List<Conditional<?>> |
Mapping.getWhen()
The set of conditions that control whether or not this mapping will be applied.
|
Modifier and Type | Method and Description |
---|---|
M |
Mapping.condition(Conditional<?>... conditions) |
default C |
Component.conditional(Conditional<?>... conditionals)
Adds one or more conditions to this component.
|
Modifier and Type | Method and Description |
---|---|
default C |
Component.conditionals(List<Conditional<?>> conditionals)
Adds one or more conditions to this component.
|
M |
Mapping.conditions(List<Conditional<?>> conditions) |
void |
Component.setConditionals(List<Conditional<?>> conditionals) |
void |
AbstractComponent.setConditionals(List<Conditional<?>> conditionals) |
Constructor and Description |
---|
ConditionalList(Collection<? extends Conditional<?>> c) |
Modifier and Type | Method and Description |
---|---|
default G |
Pollable.pollableCollectionCondition(Conditional<?>... conditions) |
default G |
Pollable.pollableItemCondition(Conditional<?>... conditions) |
Modifier and Type | Method and Description |
---|---|
default G |
Pollable.pollableCollectionConditions(Collection<Conditional<?>> conditionsToAdd) |
default G |
Pollable.pollableItemConditions(Collection<Conditional<?>> conditionsToAdd) |
Modifier and Type | Method and Description |
---|---|
default A |
GridRowConditionalAction.conditional(Conditional... conditionals)
Adds the conditions to render this action.
|
Modifier and Type | Method and Description |
---|---|
default A |
GridRowConditionalAction.conditional(List<Conditional> conditionals)
Adds the list of conditions to render this action.
|
Modifier and Type | Method and Description |
---|---|
default C |
DynamicColumn.when(Conditional<?> conditional,
UnaryOperator<Column<?>> fn)
Helper method for adding a new column option with a single conditional.
|
Modifier and Type | Method and Description |
---|---|
default C |
DynamicColumn.when(List<Conditional<?>> conditionals,
UnaryOperator<Column<?>> fn)
Helper method for adding a new column option with a list of conditionals.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CollectionConditional<C extends CollectionConditional<C>>
An extension of
Conditional that is used for matching a set of conditionals against each
member of a collection field. |
interface |
LogicalConditional<C extends LogicalConditional<C>>
An extension of
Conditional that is used for performing logical operations on a set of
conditionals. |
interface |
PropertyConditional<C extends PropertyConditional<C>>
An extension of
Conditional that is used for checking if a property matches a certain
criteria or value. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultCollectionConditional
The default implementation of
CollectionConditional . |
class |
DefaultLogicalConditional |
class |
DefaultPropertyConditional
The default implementation of
PropertyConditional . |
Modifier and Type | Method and Description |
---|---|
List<Conditional<?>> |
CollectionConditional.getConditionals() |
List<Conditional<?>> |
LogicalConditional.getConditionals() |
List<Conditional<?>> |
DefaultLogicalConditional.getConditionals()
Conditionals that will be matched against the collection members.
|
List<Conditional<?>> |
DefaultCollectionConditional.getConditionals()
Conditionals that will be matched against the collection members.
|
Modifier and Type | Method and Description |
---|---|
default C |
CollectionConditional.conditional(Conditional<?>... conditionals)
Adds one or more conditions to this conditional.
|
default C |
LogicalConditional.conditional(Conditional<?>... conditionals)
Adds one or more conditions to this conditional.
|
Modifier and Type | Method and Description |
---|---|
default C |
CollectionConditional.conditionals(List<Conditional<?>> conditionals)
Adds one or more conditions to this conditional.
|
default C |
LogicalConditional.conditionals(List<Conditional<?>> conditionals)
Adds one or more conditions to this conditional.
|
void |
CollectionConditional.setConditionals(List<Conditional<?>> conditionals) |
void |
LogicalConditional.setConditionals(List<Conditional<?>> conditionals) |
void |
DefaultLogicalConditional.setConditionals(List<Conditional<?>> conditionals)
Conditionals that will be matched against the collection members.
|
void |
DefaultCollectionConditional.setConditionals(List<Conditional<?>> conditionals)
Conditionals that will be matched against the collection members.
|
Modifier and Type | Method and Description |
---|---|
static DefaultLogicalConditional |
Conditionals.and(Conditional<?>... conditionals)
Creates a new logical-and conditional for the provided conditionals.
|
static DefaultLogicalConditional |
Conditionals.not(Conditional<?>... conditionals)
Creates a new logical-not conditional for the provided conditionals.
|
static DefaultLogicalConditional |
Conditionals.or(Conditional<?>... conditionals)
Creates a new logical-or conditional for the provided conditionals.
|
Modifier and Type | Method and Description |
---|---|
static DefaultLogicalConditional |
Conditionals.and(List<Conditional<?>> conditionals)
Creates a new logical-and conditional for the provided conditionals.
|
static DefaultLogicalConditional |
Conditionals.not(List<Conditional<?>> conditionals)
Creates a new logical-not conditional for the provided conditionals.
|
static DefaultLogicalConditional |
Conditionals.or(List<Conditional<?>> conditionals)
Creates a new logical-or conditional for the provided conditionals.
|
Copyright © 2021. All rights reserved.