DixieCompositeCondition Class Reference
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
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