Inherits from NSObject
Declared in DixieCompositeCondition.h
DixieCompositeCondition.m

Overview

Describes which chaosProvider should define the method’s behaviour if the argument at index, matches the given value. DixieCompositeChaosProvider uses this object to delegate the implementation to different providers.

Properties

chaosProvider

The ChaosProvider to apply

@property (readonly) DixieBaseChaosProvider *chaosProvider

Discussion

The ChaosProvider to apply

Declared In

DixieCompositeCondition.h

index

The index of the argument to check

@property (readonly) NSInteger index

Discussion

The index of the argument to check

Declared In

DixieCompositeCondition.h

value

The value of the argument we wish to compare

@property (readonly) id value

Discussion

The value of the argument we wish to compare

Declared In

DixieCompositeCondition.h

Class Methods

condition:value:chaosProvider:

Creates a DixieCompositeCondition

+ (instancetype)condition:(id)index value:(id)value chaosProvider:(id)chaosProvider

Parameters

index

The index of the argument to check

value

The value to compare the argument against

chaosProvider

The DixieChaosProvider to apply, if the argument matches the value

Return Value

a DixieCompositeCondition

Discussion

Creates a DixieCompositeCondition

Declared In

DixieCompositeCondition.h