Interface Conditional<C extends Conditional<C>>
-
- All Superinterfaces:
Copyable<C>
- All Known Subinterfaces:
CollectionConditional<C>
,LogicalConditional<C>
,PropertyConditional<C>
- All Known Implementing Classes:
DefaultCollectionConditional
,DefaultLogicalConditional
,DefaultPropertyConditional
public interface Conditional<C extends Conditional<C>> extends Copyable<C>
Represents a condition used to gate certain behavior or components.- Author:
- Nick Crum (ncrum)
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description String
getType()
The type of conditional.default C
self()
static PropertyConditional
when(String field)
Deprecated.useConditionals.when(String)
instead
-
-
-
Method Detail
-
getType
String getType()
The type of conditional. This is used to distinguish different types of conditionals.- Returns:
- the type
-
self
default C self()
-
when
@Deprecated static PropertyConditional when(String field)
Deprecated.useConditionals.when(String)
instead
-
-