Class GetBalanceWorkitemHandler
- java.lang.Object
-
- org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
- org.jbpm.process.workitem.ethereum.GetBalanceWorkitemHandler
-
- All Implemented Interfaces:
org.kie.api.runtime.process.WorkItemHandler
@Wid(widfile="EthereumGetBalance.wid", name="EthereumGetBalance", displayName="EthereumGetBalance", defaultHandler="mvel: new org.jbpm.process.workitem.ethereum.GetBalanceWorkitemHandler(\"walletPassword\", \"walletPath\")", documentation="ethereum-workitem/index.html", category="ethereum-workitem", icon="EthereumGetBalance.png", parameters=@WidParameter(name="ServiceURL",required=true), results=@WidResult(name="Balance",runtimeType="java.math.BigDecimal"), mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="ethereum-workitem",version="7.67.0.Final"), serviceInfo=@WidService(category="Ethereum",description="Integrate with the Ethereum Blockchain app platform",keywords="Ethereum,blockchain,smart,contract,smartcontract,balance",action=@WidAction(title="Get your Ether balance from blockchain"),authinfo=@WidAuth(required=true,params={"walletPassword","walletPath"},paramsdescription={"Wallet password","Path to the wallet file"}))) public class GetBalanceWorkitemHandler extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
-
-
Constructor Summary
Constructors Constructor Description GetBalanceWorkitemHandler(String walletPassword, String walletPath)GetBalanceWorkitemHandler(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
-
GetBalanceWorkitemHandler
public GetBalanceWorkitemHandler(String walletPassword, String walletPath)
-
GetBalanceWorkitemHandler
public GetBalanceWorkitemHandler(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)
-
-