Package org.jmanikin.core
Interface PreCondition<I extends Id<O>,O,E>
- Type Parameters:
I- the Id TypeO- the Object TypeE- the Effect Type
- All Known Subinterfaces:
AccountModule.AccountMsg,Environment<I,O,E>,LocalMessage<I,O,E>,TestModule.LMsg<E>,TransferModule.TransferMsg
- All Known Implementing Classes:
AccountModule.Deposit,AccountModule.Open,AccountModule.Withdraw,LocalMessage.LocalEnvironment,TestModule.LocalCopyId,TestModule.LocalSendSetMember,TestModule.LocalSetMember,TestModule.ThrowPstException,TransferModule.Book
public interface PreCondition<I extends Id<O>,O,E>
The Pre-condition stage of building a Message.
-
Method Summary
-
Method Details
-
pre
Build the next Apply stage, given a lazy pre-condition supplier.- Parameters:
pre- the supplier of the pre-condition- Returns:
- the Apply stage
-