| Package | Description |
|---|---|
| de.flapdoodle.formula.solver | |
| de.flapdoodle.formula.validation |
| Modifier and Type | Method and Description |
|---|---|
<T> ValidationError |
Context.validationError(ValueSource<T> id) |
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.collect.ImmutableMap<Value<?>,ValidationError> |
ImmutableContext.validationErrorMap() |
protected abstract Map<Value<?>,ValidationError> |
Context.validationErrorMap() |
Map<Value<?>,ValidationError> |
Result.validationErrors() |
default <T> de.flapdoodle.types.Either<T,ValidationError> |
Result.valueOrError(Value<T> id) |
| Modifier and Type | Method and Description |
|---|---|
<T> Context |
Context.addInvalid(Value<T> id,
ValidationError validationError) |
ImmutableContext.Builder |
ImmutableContext.Builder.putValidationErrorMap(Value<?> key,
ValidationError value)
Put one entry to the
validationErrorMap map. |
| Modifier and Type | Method and Description |
|---|---|
ImmutableContext.Builder |
ImmutableContext.Builder.putAllValidationErrorMap(Map<? extends Value<?>,? extends ValidationError> entries)
Put all mappings from the specified map as entries to
validationErrorMap map. |
ImmutableContext.Builder |
ImmutableContext.Builder.putValidationErrorMap(Map.Entry<? extends Value<?>,? extends ValidationError> entry)
Put one entry to the
validationErrorMap map. |
ImmutableContext.Builder |
ImmutableContext.Builder.validationErrorMap(Map<? extends Value<?>,? extends ValidationError> entries)
Sets or replaces all mappings from the specified map as entries for the
validationErrorMap map. |
ImmutableContext |
ImmutableContext.withValidationErrorMap(Map<? extends Value<?>,? extends ValidationError> entries)
Copy the current immutable object by replacing the
validationErrorMap map with the specified map. |
| Modifier and Type | Class and Description |
|---|---|
class |
ImmutableValidationError
Immutable implementation of
ValidationError. |
| Modifier and Type | Method and Description |
|---|---|
static ValidationError |
ValidationError.of(List<ErrorMessage> errorMessages,
Set<? extends ValueSource<?>> invalidReferences) |
| Modifier and Type | Method and Description |
|---|---|
de.flapdoodle.types.Either<T,ValidationError> |
ImmutableValidatedValue.valueOrError() |
abstract de.flapdoodle.types.Either<T,ValidationError> |
ValidatedValue.valueOrError() |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableValidationError |
ImmutableValidationError.copyOf(ValidationError instance)
Creates an immutable copy of a
ValidationError value. |
ImmutableValidationError.Builder |
ImmutableValidationError.Builder.from(ValidationError instance)
Fill a builder with attribute values from the provided
ValidationError instance. |
static <T> ValidatedValue<T> |
ValidatedValue.of(ValueSource<T> id,
ValidationError validationError) |
| Modifier and Type | Method and Description |
|---|---|
ImmutableValidatedValue.Builder<T> |
ImmutableValidatedValue.Builder.valueOrError(de.flapdoodle.types.Either<T,ValidationError> valueOrError)
Initializes the value for the
valueOrError attribute. |
ImmutableValidatedValue<T> |
ImmutableValidatedValue.withValueOrError(de.flapdoodle.types.Either<T,ValidationError> value)
Copy the current immutable object by setting a value for the
valueOrError attribute. |
Copyright © 2023. All rights reserved.