public interface Precipice<Result extends java.lang.Enum<Result> & Failable,Rejected extends java.lang.Enum<Rejected>>
Precipice is a class that has an associated GuardRail. This interface
should be implemented by classes that combined the usage of a GuardRail with specialized
execution logic. The only method guardRail() should return the GuardRail associated
with the implemented class. The CallService is an example of an implementation.| Modifier and Type | Method and Description |
|---|---|
GuardRail<Result,Rejected> |
guardRail()
Return the GuardRail associated with this class.
|
Copyright © 2014 Tim Brooks. All Rights Reserved.