@Wid(widfile="EthereumSendEther.wid",name="EthereumSendEther",displayName="EthereumSendEther",defaultHandler="mvel: new org.jbpm.process.workitem.ethereum.SendEtherWorkitemHandler(\"walletPassword\", \"walletPath\")",documentation="ethereum-workitem/index.html",category="ethereum-workitem",icon="EthereumSendEther.png",parameters={@WidParameter(name="ServiceURL",required=true),@WidParameter(name="Amount",required=true),@WidParameter(name="ToAddress",required=true)},results=@WidResult(name="Receipt"),mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="ethereum-workitem",version="7.45.0.Final"),serviceInfo=@WidService(category="Ethereum",description="Integrate with the Ethereum Blockchain app platform",keywords="Ethereum,blockchain,smart,contract,smartcontract,send,ether",action=@WidAction(title="Send ether to an existing contract on the blockchain"),authinfo=@WidAuth(required=true,params={"walletPassword","walletPath"},paramsdescription={"Wallet password","Path to the wallet file"})))
public class SendEtherWorkitemHandler
extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
| Constructor and Description |
|---|
SendEtherWorkitemHandler(String walletPassword,
String walletPath) |
SendEtherWorkitemHandler(String walletPassword,
String walletPath,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortWorkItem(org.kie.api.runtime.process.WorkItem wi,
org.kie.api.runtime.process.WorkItemManager wim) |
void |
executeWorkItem(org.kie.api.runtime.process.WorkItem workItem,
org.kie.api.runtime.process.WorkItemManager workItemManager) |
void |
setTransfer(org.web3j.tx.Transfer transfer) |
void |
setWeb3j(org.web3j.protocol.Web3j web3j) |
public SendEtherWorkitemHandler(String walletPassword, String walletPath, ClassLoader classLoader)
public void executeWorkItem(org.kie.api.runtime.process.WorkItem workItem,
org.kie.api.runtime.process.WorkItemManager workItemManager)
public void abortWorkItem(org.kie.api.runtime.process.WorkItem wi,
org.kie.api.runtime.process.WorkItemManager wim)
public void setWeb3j(org.web3j.protocol.Web3j web3j)
public void setTransfer(org.web3j.tx.Transfer transfer)
Copyright © 2001–2020 jBPM dev team. All rights reserved.