Class FulfillLockReward
- java.lang.Object
-
- io.keyko.nevermined.core.sla.functions.FulfillLockReward
-
public class FulfillLockReward extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.logging.log4j.Logger
log
-
Constructor Summary
Constructors Constructor Description FulfillLockReward()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Boolean
executeFulfill(io.keyko.nevermined.contracts.LockRewardCondition lockRewardCondition, String serviceAgreementId, String escrowRewardAddress, String price)
Executes a fulfill function of a LockReward Condition
-
-
-
Method Detail
-
executeFulfill
public static Boolean executeFulfill(io.keyko.nevermined.contracts.LockRewardCondition lockRewardCondition, String serviceAgreementId, String escrowRewardAddress, String price) throws LockRewardFulfillException
Executes a fulfill function of a LockReward Condition- Parameters:
lockRewardCondition
- LockRewardCondition contractserviceAgreementId
- the service agreement idescrowRewardAddress
- the address of the EscrowReward Contractprice
- price of the asset- Returns:
- a flag that indicates if the function was executed correctly
- Throws:
LockRewardFulfillException
- LockRewardFulfillException
-
-