Interface Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
Web3jEndpointBuilderFactory.Web3jEndpointBuilder
- Enclosing interface:
- Web3jEndpointBuilderFactory
public static interface Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilderBuilder for endpoint consumers for the Web3j Ethereum Blockchain component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilderaddresses(String addresses)Contract address or a list of addresses.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilderaddresses(List<String> addresses)Contract address or a list of addresses.default Web3jEndpointBuilderFactory.AdvancedWeb3jEndpointConsumerBuilderadvanced()default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilderfromAddress(String fromAddress)The address the transaction is send from.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilderfromBlock(String fromBlock)The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilderfullTransactionObjects(boolean fullTransactionObjects)If true it returns the full transaction objects, if false only the hashes of the transactions.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilderfullTransactionObjects(String fullTransactionObjects)If true it returns the full transaction objects, if false only the hashes of the transactions.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuildergasLimit(String gasLimit)The maximum gas allowed in this block.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuildergasLimit(BigInteger gasLimit)The maximum gas allowed in this block.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilderprivateFor(String privateFor)A transaction privateFor nodes with public keys in a Quorum network.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilderprivateFor(List<String> privateFor)A transaction privateFor nodes with public keys in a Quorum network.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilderquorumAPI(boolean quorumAPI)If true, this will support Quorum API.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilderquorumAPI(String quorumAPI)If true, this will support Quorum API.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuildertoAddress(String toAddress)The address the transaction is directed to.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuildertoBlock(String toBlock)The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuildertopics(String topics)Topics are order-dependent.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilderweb3j(String web3j)The preconfigured Web3j object.default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilderweb3j(org.web3j.protocol.Web3j web3j)The preconfigured Web3j object.
-
-
-
Method Detail
-
advanced
default Web3jEndpointBuilderFactory.AdvancedWeb3jEndpointConsumerBuilder advanced()
-
addresses
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder addresses(List<String> addresses)
Contract address or a list of addresses. The option is a: <code>java.util.List<java.lang.String></code> type. Group: common- Parameters:
addresses- the value to set- Returns:
- the dsl builder
-
addresses
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder addresses(String addresses)
Contract address or a list of addresses. The option will be converted to a <code>java.util.List<java.lang.String></code> type. Group: common- Parameters:
addresses- the value to set- Returns:
- the dsl builder
-
fromAddress
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder fromAddress(String fromAddress)
The address the transaction is send from. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
fromAddress- the value to set- Returns:
- the dsl builder
-
fromBlock
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder fromBlock(String fromBlock)
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. The option is a: <code>java.lang.String</code> type. Default: latest Group: common- Parameters:
fromBlock- the value to set- Returns:
- the dsl builder
-
fullTransactionObjects
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder fullTransactionObjects(boolean fullTransactionObjects)
If true it returns the full transaction objects, if false only the hashes of the transactions. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
fullTransactionObjects- the value to set- Returns:
- the dsl builder
-
fullTransactionObjects
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder fullTransactionObjects(String fullTransactionObjects)
If true it returns the full transaction objects, if false only the hashes of the transactions. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
fullTransactionObjects- the value to set- Returns:
- the dsl builder
-
gasLimit
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder gasLimit(BigInteger gasLimit)
The maximum gas allowed in this block. The option is a: <code>java.math.BigInteger</code> type. Group: common- Parameters:
gasLimit- the value to set- Returns:
- the dsl builder
-
gasLimit
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder gasLimit(String gasLimit)
The maximum gas allowed in this block. The option will be converted to a <code>java.math.BigInteger</code> type. Group: common- Parameters:
gasLimit- the value to set- Returns:
- the dsl builder
-
privateFor
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder privateFor(List<String> privateFor)
A transaction privateFor nodes with public keys in a Quorum network. The option is a: <code>java.util.List<java.lang.String></code> type. Group: common- Parameters:
privateFor- the value to set- Returns:
- the dsl builder
-
privateFor
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder privateFor(String privateFor)
A transaction privateFor nodes with public keys in a Quorum network. The option will be converted to a <code>java.util.List<java.lang.String></code> type. Group: common- Parameters:
privateFor- the value to set- Returns:
- the dsl builder
-
quorumAPI
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder quorumAPI(boolean quorumAPI)
If true, this will support Quorum API. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
quorumAPI- the value to set- Returns:
- the dsl builder
-
quorumAPI
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder quorumAPI(String quorumAPI)
If true, this will support Quorum API. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
quorumAPI- the value to set- Returns:
- the dsl builder
-
toAddress
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder toAddress(String toAddress)
The address the transaction is directed to. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
toAddress- the value to set- Returns:
- the dsl builder
-
toBlock
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder toBlock(String toBlock)
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. The option is a: <code>java.lang.String</code> type. Default: latest Group: common- Parameters:
toBlock- the value to set- Returns:
- the dsl builder
-
topics
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder topics(String topics)
Topics are order-dependent. Each topic can also be a list of topics. Specify multiple topics separated by comma. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
topics- the value to set- Returns:
- the dsl builder
-
web3j
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder web3j(org.web3j.protocol.Web3j web3j)
The preconfigured Web3j object. The option is a: <code>org.web3j.protocol.Web3j</code> type. Group: common- Parameters:
web3j- the value to set- Returns:
- the dsl builder
-
web3j
default Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder web3j(String web3j)
The preconfigured Web3j object. The option will be converted to a <code>org.web3j.protocol.Web3j</code> type. Group: common- Parameters:
web3j- the value to set- Returns:
- the dsl builder
-
-