Class QueryExistingContractWorkitemHandler

  • All Implemented Interfaces:
    org.kie.api.runtime.process.WorkItemHandler

    @Wid(widfile="EthereumQueryExistingContract.wid",name="EthereumQueryExistingContract",displayName="EthereumQueryExistingContract",defaultHandler="mvel: new org.jbpm.process.workitem.ethereum.QueryExistingContractWorkitemHandler(\"walletPassword\", \"walletPath\")",documentation="ethereum-workitem/index.html",category="ethereum-workitem",icon="EthereumQueryExistingContract.png",parameters={@WidParameter(name="ServiceURL",required=true),@WidParameter(name="ContractAddress",required=true),@WidParameter(name="ContractMethodName",required=true),@WidParameter(name="MethodOutputType")},results=@WidResult(name="Result",runtimeType="java.lang.Object"),mavenDepends=@WidMavenDepends(group="org.jbpm.contrib",artifact="ethereum-workitem",version="7.60.0.Final"),serviceInfo=@WidService(category="Ethereum",description="Integrate with the Ethereum Blockchain app platform",keywords="Ethereum,blockchain,smart,contract,smartcontract,query",action=@WidAction(title="Query an existing contract deployed on the blockchain"),authinfo=@WidAuth(required=true,params={"walletPassword","walletPath"},paramsdescription={"Wallet password","Path to the wallet file"})))
    public class QueryExistingContractWorkitemHandler
    extends org.jbpm.process.workitem.core.AbstractLogOrThrowWorkItemHandler
    • Constructor Detail

      • QueryExistingContractWorkitemHandler

        public QueryExistingContractWorkitemHandler​(String walletPassword,
                                                    String walletPath)
      • QueryExistingContractWorkitemHandler

        public QueryExistingContractWorkitemHandler​(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)