Interface ChaosToggleNameMapper
-
- All Known Implementing Classes:
DefaultChaosToggleNameMapper
public interface ChaosToggleNameMapperA 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringmapName(ChaosTarget type, String name)
-
-
-
Method Detail
-
mapName
String mapName(ChaosTarget type, String name)
- 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
-
-