public class Characteristic<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Characteristic.AggregatedNotificationsCharacteristic
Characteristic that retrieves all the NotificationModel emitted by the inner components of this Model |
static class |
Characteristic.AnyMatchCharacteristic
Boolean Characteristic that is meant to finish checking whenever the predicate returns true.
|
static class |
Characteristic.AnyMatchFilteringCharacteristic
Boolean Filtered Characteristic that is meant to finish checking whenever the predicate returns true.
|
static class |
Characteristic.BooleanCharacteristic
Extension of
Characteristic for Boolean features (such as isBlocking) |
static class |
Characteristic.BooleanFilteringCharacteristic
Extension of
Characteristic.FilteringCharacteristic for Boolean features (such as isTransactional) |
static class |
Characteristic.ComponentAstWithHierarchy |
static class |
Characteristic.FilteringCharacteristic<T>
Extension of
Characteristic that has also criteria for ignoring and skipping whole components (e.g. |
static class |
Characteristic.IsBlockingCharacteristic |
static class |
Characteristic.IsTransactionalCharacteristic |
| Modifier | Constructor and Description |
|---|---|
protected |
Characteristic(BiFunction<Characteristic.ComponentAstWithHierarchy,? super T,? extends T> mapper,
T defaultValue,
T stopValue) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeFrom(Characteristic.ComponentAstWithHierarchy operationAst)
Use to map to the correct value for this Characteristic.
|
T |
getValue() |
boolean |
hasDefinitiveValue() |
boolean |
hasValue() |
void |
setWithDefault()
Use default value as value for this Characteristic
|
protected Characteristic(BiFunction<Characteristic.ComponentAstWithHierarchy,? super T,? extends T> mapper, T defaultValue, T stopValue)
public void computeFrom(Characteristic.ComponentAstWithHierarchy operationAst)
operationAst - is the operation AST. It always has a OperationModel.public void setWithDefault()
public boolean hasDefinitiveValue()
public boolean hasValue()
public T getValue()
Copyright © 2003–2023 MuleSoft, Inc.. All rights reserved.