arch-unit-ts
Version:
15 lines (14 loc) • 600 B
TypeScript
import { Optional } from '../../../common/domain/Optional';
import { HasDescription } from '../../base/HasDescription';
import { ArchCondition } from '../ArchCondition';
export declare class ConditionAggregator<T> implements HasDescription {
private readonly addMode;
private readonly condition;
private constructor();
static default(): ConditionAggregator<unknown>;
getCondition(): Optional<ArchCondition<T>>;
add(other: ArchCondition<T>): ConditionAggregator<T>;
thatANDs(): ConditionAggregator<T>;
thatORs(): ConditionAggregator<T>;
getDescription(): string;
}