Class DeployContractWorkitemHandler
- java.lang.Object
-
- org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
- org.jbpm.process.workitem.ethereum.DeployContractWorkitemHandler
-
- All Implemented Interfaces:
org.kie.api.runtime.process.WorkItemHandler
@Wid(widfile="EthereumDeployContract.wid",name="EthereumDeployContract",displayName="EthereumDeployContract",defaultHandler="mvel: new org.jbpm.process.workitem.ethereum.DeployContractWorkitemHandler(\"walletPassword\", \"walletPath\")",documentation="ethereum-workitem/index.html",category="ethereum-workitem",icon="EthereumDeployContract.png",parameters={@WidParameter(name="ServiceURL",required=true),@WidParameter(name="ContractPath",required=true),@WidParameter(name="DepositAmount"),@WidParameter(name="WaitForReceipt")},results=@WidResult(name="ContractAddress"),mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="ethereum-workitem",version="7.63.0.Final"),serviceInfo=@WidService(category="Ethereum",description="Integrate with the Ethereum Blockchain app platform",keywords="Ethereum,blockchain,smart,contract,smartcontract,deploy",action=@WidAction(title="Deploy a new smart contract onto the blockchain"),authinfo=@WidAuth(required=true,params={"walletPassword","walletPath"},paramsdescription={"Wallet password","Path to the wallet file"}))) public class DeployContractWorkitemHandler extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
-
Constructor Summary
Constructors Constructor Description DeployContractWorkitemHandler(String walletPassword, String walletPath)DeployContractWorkitemHandler(String walletPassword, String walletPath, ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabortWorkItem(org.kie.api.runtime.process.WorkItem wi, org.kie.api.runtime.process.WorkItemManager wim)voidexecuteWorkItem(org.kie.api.runtime.process.WorkItem workItem, org.kie.api.runtime.process.WorkItemManager workItemManager)voidsetWeb3j(org.web3j.protocol.Web3j web3j)
-
-
-
Constructor Detail
-
DeployContractWorkitemHandler
public DeployContractWorkitemHandler(String walletPassword, String walletPath)
-
DeployContractWorkitemHandler
public DeployContractWorkitemHandler(String walletPassword, String walletPath, ClassLoader classLoader)
-
-
Method Detail
-
executeWorkItem
public void executeWorkItem(org.kie.api.runtime.process.WorkItem workItem, org.kie.api.runtime.process.WorkItemManager workItemManager)
-
abortWorkItem
public void abortWorkItem(org.kie.api.runtime.process.WorkItem wi, org.kie.api.runtime.process.WorkItemManager wim)
-
setWeb3j
public void setWeb3j(org.web3j.protocol.Web3j web3j)
-
-