Interface ChaosToggleNameMapper
- All Known Implementing Classes:
DefaultChaosToggleNameMapper
public interface ChaosToggleNameMapper
A way to map individual ChaosTargets (controllers, repositories, etc) and the
corresponding method. Implementations can make the name to toggle mapping as
coarse or as detailed as desired.
- Author:
- Clint Checketts
-
Method Summary
-
Method Details
-
mapName
- Parameters:
type- ChaosType (controller, repository, etc)name- Name of item being assaulted (a method class and method name for example)- Returns:
- the toggle name to be switched
-