Interface Web3jEndpointBuilderFactory.Web3jEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder,org.apache.camel.EndpointConsumerResolver,org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver,Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder,Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
- Enclosing interface:
- Web3jEndpointBuilderFactory
public static interface Web3jEndpointBuilderFactory.Web3jEndpointBuilder extends Web3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder, Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
Builder for endpoint for the Web3j Ethereum Blockchain component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Web3jEndpointBuilderFactory.Web3jEndpointBuilderaddresses(String addresses)Contract address or a list of addresses.default Web3jEndpointBuilderFactory.Web3jEndpointBuilderaddresses(List<String> addresses)Contract address or a list of addresses.default Web3jEndpointBuilderFactory.AdvancedWeb3jEndpointBuilderadvanced()default Web3jEndpointBuilderFactory.Web3jEndpointBuilderfromAddress(String fromAddress)The address the transaction is send from.default Web3jEndpointBuilderFactory.Web3jEndpointBuilderfromBlock(String fromBlock)The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.default Web3jEndpointBuilderFactory.Web3jEndpointBuilderfullTransactionObjects(boolean fullTransactionObjects)If true it returns the full transaction objects, if false only the hashes of the transactions.default Web3jEndpointBuilderFactory.Web3jEndpointBuilderfullTransactionObjects(String fullTransactionObjects)If true it returns the full transaction objects, if false only the hashes of the transactions.default Web3jEndpointBuilderFactory.Web3jEndpointBuildergasLimit(String gasLimit)The maximum gas allowed in this block.default Web3jEndpointBuilderFactory.Web3jEndpointBuildergasLimit(BigInteger gasLimit)The maximum gas allowed in this block.default Web3jEndpointBuilderFactory.Web3jEndpointBuilderprivateFor(String privateFor)A transaction privateFor nodes with public keys in a Quorum network.default Web3jEndpointBuilderFactory.Web3jEndpointBuilderprivateFor(List<String> privateFor)A transaction privateFor nodes with public keys in a Quorum network.default Web3jEndpointBuilderFactory.Web3jEndpointBuilderquorumAPI(boolean quorumAPI)If true, this will support Quorum API.default Web3jEndpointBuilderFactory.Web3jEndpointBuilderquorumAPI(String quorumAPI)If true, this will support Quorum API.default Web3jEndpointBuilderFactory.Web3jEndpointBuildertoAddress(String toAddress)The address the transaction is directed to.default Web3jEndpointBuilderFactory.Web3jEndpointBuildertoBlock(String toBlock)The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.default Web3jEndpointBuilderFactory.Web3jEndpointBuildertopics(String topics)Topics are order-dependent.default Web3jEndpointBuilderFactory.Web3jEndpointBuilderweb3j(String web3j)The preconfigured Web3j object.default Web3jEndpointBuilderFactory.Web3jEndpointBuilderweb3j(org.web3j.protocol.Web3j web3j)The preconfigured Web3j object.-
Methods inherited from interface org.apache.camel.builder.EndpointConsumerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
-
Methods inherited from interface org.apache.camel.builder.endpoint.dsl.Web3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
address, atBlock, blockHash, clientId, data, databaseName, filterId, filterId, gasPrice, gasPrice, hashrate, headerPowHash, index, index, keyName, mixDigest, nonce, operation, position, position, priority, priority, sha3HashOfDataToSign, signedTransactionData, sourceCode, transactionHash, ttl, ttl, value, value
-
-
-
-
Method Detail
-
advanced
default Web3jEndpointBuilderFactory.AdvancedWeb3jEndpointBuilder advanced()
- Specified by:
advancedin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
advancedin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder
-
addresses
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder 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- Specified by:
addressesin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
addressesin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
addresses- the value to set- Returns:
- the dsl builder
-
addresses
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder 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- Specified by:
addressesin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
addressesin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
addresses- the value to set- Returns:
- the dsl builder
-
fromAddress
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder fromAddress(String fromAddress)
The address the transaction is send from. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
fromAddressin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
fromAddressin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
fromAddress- the value to set- Returns:
- the dsl builder
-
fromBlock
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder 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- Specified by:
fromBlockin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
fromBlockin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
fromBlock- the value to set- Returns:
- the dsl builder
-
fullTransactionObjects
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder 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- Specified by:
fullTransactionObjectsin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
fullTransactionObjectsin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
fullTransactionObjects- the value to set- Returns:
- the dsl builder
-
fullTransactionObjects
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder 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- Specified by:
fullTransactionObjectsin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
fullTransactionObjectsin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
fullTransactionObjects- the value to set- Returns:
- the dsl builder
-
gasLimit
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder gasLimit(BigInteger gasLimit)
The maximum gas allowed in this block. The option is a: <code>java.math.BigInteger</code> type. Group: common- Specified by:
gasLimitin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
gasLimitin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
gasLimit- the value to set- Returns:
- the dsl builder
-
gasLimit
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder 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- Specified by:
gasLimitin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
gasLimitin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
gasLimit- the value to set- Returns:
- the dsl builder
-
privateFor
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder 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- Specified by:
privateForin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
privateForin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
privateFor- the value to set- Returns:
- the dsl builder
-
privateFor
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder 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- Specified by:
privateForin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
privateForin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
privateFor- the value to set- Returns:
- the dsl builder
-
quorumAPI
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder quorumAPI(boolean quorumAPI)
If true, this will support Quorum API. The option is a: <code>boolean</code> type. Default: false Group: common- Specified by:
quorumAPIin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
quorumAPIin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
quorumAPI- the value to set- Returns:
- the dsl builder
-
quorumAPI
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder 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- Specified by:
quorumAPIin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
quorumAPIin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
quorumAPI- the value to set- Returns:
- the dsl builder
-
toAddress
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder toAddress(String toAddress)
The address the transaction is directed to. The option is a: <code>java.lang.String</code> type. Group: common- Specified by:
toAddressin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
toAddressin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
toAddress- the value to set- Returns:
- the dsl builder
-
toBlock
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder 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- Specified by:
toBlockin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
toBlockin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
toBlock- the value to set- Returns:
- the dsl builder
-
topics
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder 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- Specified by:
topicsin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
topicsin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
topics- the value to set- Returns:
- the dsl builder
-
web3j
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder web3j(org.web3j.protocol.Web3j web3j)
The preconfigured Web3j object. The option is a: <code>org.web3j.protocol.Web3j</code> type. Group: common- Specified by:
web3jin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
web3jin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
web3j- the value to set- Returns:
- the dsl builder
-
web3j
default Web3jEndpointBuilderFactory.Web3jEndpointBuilder web3j(String web3j)
The preconfigured Web3j object. The option will be converted to a <code>org.web3j.protocol.Web3j</code> type. Group: common- Specified by:
web3jin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointConsumerBuilder- Specified by:
web3jin interfaceWeb3jEndpointBuilderFactory.Web3jEndpointProducerBuilder- Parameters:
web3j- the value to set- Returns:
- the dsl builder
-
-