A B C D E F G H I K L M N O P Q R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addOrgs(StateBasedEndorsement.RoleType, String...) - Method in interface org.hyperledger.fabric.shim.ext.sbe.StateBasedEndorsement
-
Adds the specified orgs to the list of orgs that are required to endorse.
- afterTransaction(Context, Object) - Method in interface org.hyperledger.fabric.contract.ContractInterface
-
Invoked once after each transaction.
- assertAttributeValue(String, String) - Method in class org.hyperledger.fabric.contract.ClientIdentity
-
assertAttributeValue verifies that the invoking identity has the attribute named `attrName` with a value of `attrValue`.
B
- beforeTransaction(Context) - Method in interface org.hyperledger.fabric.contract.ContractInterface
-
Invoked once before each transaction.
C
- Chaincode - Interface in org.hyperledger.fabric.shim
-
Defines methods that all chaincodes must implement.
- Chaincode.Response - Class in org.hyperledger.fabric.shim
-
Wrapper around protobuf Response, contains status, message and payload.
- Chaincode.Response.Status - Enum in org.hyperledger.fabric.shim
-
Chaincode.Response
status enum. - ChaincodeBase - Class in org.hyperledger.fabric.shim
- ChaincodeBase() - Constructor for class org.hyperledger.fabric.shim.ChaincodeBase
- ChaincodeBase.CCState - Enum in org.hyperledger.fabric.shim
- ChaincodeException - Exception in org.hyperledger.fabric.shim
-
Contracts should use
ChaincodeException
to indicate when an error occurs in Smart Contract logic. - ChaincodeException() - Constructor for exception org.hyperledger.fabric.shim.ChaincodeException
-
Constructs a new
ChaincodeException
with no detail message. - ChaincodeException(String) - Constructor for exception org.hyperledger.fabric.shim.ChaincodeException
-
Constructs a new
ChaincodeException
with the specified detail message. - ChaincodeException(String, byte[]) - Constructor for exception org.hyperledger.fabric.shim.ChaincodeException
-
Constructs a new
ChaincodeException
with the specified detail message and response payload. - ChaincodeException(String, byte[], Throwable) - Constructor for exception org.hyperledger.fabric.shim.ChaincodeException
-
Constructs a new
ChaincodeException
with the specified detail message, response payload and cause. - ChaincodeException(String, String) - Constructor for exception org.hyperledger.fabric.shim.ChaincodeException
-
Constructs a new
ChaincodeException
with the specified detail message and response payload. - ChaincodeException(String, String, Throwable) - Constructor for exception org.hyperledger.fabric.shim.ChaincodeException
-
Constructs a new
ChaincodeException
with the specified detail message, response payload and cause. - ChaincodeException(String, Throwable) - Constructor for exception org.hyperledger.fabric.shim.ChaincodeException
-
Constructs a new
ChaincodeException
with the specified detail message and cause. - ChaincodeException(Throwable) - Constructor for exception org.hyperledger.fabric.shim.ChaincodeException
-
Constructs a new
ChaincodeException
with the specified cause. - ChaincodeStub - Interface in org.hyperledger.fabric.shim
- clientIdentity - Variable in class org.hyperledger.fabric.contract.Context
- ClientIdentity - Class in org.hyperledger.fabric.contract
-
ClientIdentity represents information about the identity that submitted a transaction.
- ClientIdentity(ChaincodeStub) - Constructor for class org.hyperledger.fabric.contract.ClientIdentity
- CompositeKey - Class in org.hyperledger.fabric.shim.ledger
- CompositeKey(String, String...) - Constructor for class org.hyperledger.fabric.shim.ledger.CompositeKey
- CompositeKey(String, List<String>) - Constructor for class org.hyperledger.fabric.shim.ledger.CompositeKey
- connectToPeer() - Method in class org.hyperledger.fabric.shim.ChaincodeBase
- contact() - Method in annotation type org.hyperledger.fabric.contract.annotation.Info
-
Contact object that can be populated with email, name and url fields.
- Contact - Annotation Type in org.hyperledger.fabric.contract.annotation
-
Class level annotation that identifies this class as being a contact.
- Context - Class in org.hyperledger.fabric.contract
-
This context is available to all 'transaction functions' and provides the transaction context.
- Context(ChaincodeStub) - Constructor for class org.hyperledger.fabric.contract.Context
-
Constructor Creates new client identity and sets it as a property of the stub
- Contract - Annotation Type in org.hyperledger.fabric.contract.annotation
-
Class level annotation that identifies this class as being a contract.
- ContractInterface - Interface in org.hyperledger.fabric.contract
-
All Contracts should implement this interface, in addition to the
Contract
annotation. - CORE_CHAINCODE_LOGGING_LEVEL - Static variable in class org.hyperledger.fabric.shim.ChaincodeBase
- CORE_CHAINCODE_LOGGING_SHIM - Static variable in class org.hyperledger.fabric.shim.ChaincodeBase
- createCompositeKey(String, String...) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Given a set of attributes, this method combines these attributes to return a composite key.
- createContext(ChaincodeStub) - Method in interface org.hyperledger.fabric.contract.ContractInterface
-
Create context from
ChaincodeStub
, default impl provided, but can be overwritten by contract - CREATED - org.hyperledger.fabric.shim.ChaincodeBase.CCState
D
- DataType - Annotation Type in org.hyperledger.fabric.contract.annotation
-
Class level annotation indicating this class represents one of the complex types that can be returned or passed to the transaction functions.
- debug(String) - Method in class org.hyperledger.fabric.Logger
-
Deprecated.
- debug(Supplier<String>) - Method in class org.hyperledger.fabric.Logger
-
Deprecated.
- Default - Annotation Type in org.hyperledger.fabric.contract.annotation
-
Class level annotation that defines the contract that is the default contract, and as such invoke of the transaction functions does not need to be qualified by the contract name
- DEFAULT_HOST - Static variable in class org.hyperledger.fabric.shim.ChaincodeBase
- DEFAULT_PORT - Static variable in class org.hyperledger.fabric.shim.ChaincodeBase
- delOrgs(String...) - Method in interface org.hyperledger.fabric.shim.ext.sbe.StateBasedEndorsement
-
deletes the specified channel orgs from the existing key-level endorsement policy for this KVS key.
- delPrivateData(String, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Records the specified
key
to be deleted in the private writeset of the transaction. - delState(String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Records the specified
key
to be deleted in the writeset of the transaction proposal. - description() - Method in annotation type org.hyperledger.fabric.contract.annotation.Info
E
- email() - Method in annotation type org.hyperledger.fabric.contract.annotation.Contact
- error(String) - Method in class org.hyperledger.fabric.Logger
-
Deprecated.
- error(Supplier<String>) - Method in class org.hyperledger.fabric.Logger
-
Deprecated.
- ERROR_THRESHOLD - org.hyperledger.fabric.shim.Chaincode.Response.Status
- ESTABLISHED - org.hyperledger.fabric.shim.ChaincodeBase.CCState
F
- forCode(int) - Static method in enum org.hyperledger.fabric.shim.Chaincode.Response.Status
- formatError(Throwable) - Method in class org.hyperledger.fabric.Logger
-
Deprecated.
- formatError(Throwable) - Static method in class org.hyperledger.fabric.Logging
-
Formats a Throwable to a string with details of all the causes as well
- forVal(String) - Static method in enum org.hyperledger.fabric.shim.ext.sbe.StateBasedEndorsement.RoleType
G
- getActiveCount() - Method in interface org.hyperledger.fabric.metrics.TaskMetricsCollector
-
Currently executing threads
- getArgs() - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the arguments corresponding to the call to
Chaincode.init(ChaincodeStub)
orChaincode.invoke(ChaincodeStub)
, each argument represented as byte array. - getAttributes() - Method in class org.hyperledger.fabric.shim.ledger.CompositeKey
- getAttributeValue(String) - Method in class org.hyperledger.fabric.contract.ClientIdentity
-
getAttributeValue returns the value of the client's attribute named `attrName`.
- getBinding() - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the transaction binding.
- getChaincodeConfig() - Method in class org.hyperledger.fabric.shim.ChaincodeBase
-
Obtains configuration specificially for running the chaincode, and settable on a per chaincode basis, rather than taking properties from the Peers' configuration
- getChannelId() - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the channel id for the current proposal.
- getClientIdentity() - Method in class org.hyperledger.fabric.contract.Context
- getCode() - Method in enum org.hyperledger.fabric.shim.Chaincode.Response.Status
- getCorePoolSize() - Method in interface org.hyperledger.fabric.metrics.TaskMetricsCollector
-
Gets the core (minimum) pool size
- getCreator() - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the identity of the agent (or user) submitting the transaction.
- getCurrentQueueCount() - Method in interface org.hyperledger.fabric.metrics.TaskMetricsCollector
-
Currently waiting tasks; should not be a higher number
- getCurrentTaskCount() - Method in interface org.hyperledger.fabric.metrics.TaskMetricsCollector
-
Currently executing tasks
- getEvent() - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the CHAINCODE type event that will be posted to interested clients when the chaincode's result is committed to the ledger.
- getFunction() - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
A convenience method that returns the first argument of the chaincode invocation for use as a function name.
- getHistoryForKey(String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns a history of key values across time.
- getId() - Method in class org.hyperledger.fabric.contract.ClientIdentity
-
getId returns the ID associated with the invoking identity.
- getKey() - Method in interface org.hyperledger.fabric.shim.ledger.KeyValue
-
Returns the state key.
- getLargestPoolSize() - Method in interface org.hyperledger.fabric.metrics.TaskMetricsCollector
-
Gets the largest pool size so far
- getLogger(Class<?>) - Static method in class org.hyperledger.fabric.Logger
-
Deprecated.
- getLogger(String) - Static method in class org.hyperledger.fabric.Logger
-
Deprecated.
- getMaximumPoolSize() - Method in interface org.hyperledger.fabric.metrics.TaskMetricsCollector
-
Gets the upper limitw pool size
- getMessage() - Method in class org.hyperledger.fabric.shim.Chaincode.Response
- getMetadata() - Method in interface org.hyperledger.fabric.shim.ledger.QueryResultsIteratorWithMetadata
- getMSPID() - Method in class org.hyperledger.fabric.contract.ClientIdentity
-
getMSPID returns the MSP ID of the invoking identity.
- getObjectType() - Method in class org.hyperledger.fabric.shim.ledger.CompositeKey
- getParameters() - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
A convenience method that returns all except the first argument of the chaincode invocation for use as the parameters to the function returned by #
ChaincodeStub.getFunction()
. - getPayload() - Method in class org.hyperledger.fabric.shim.Chaincode.Response
- getPayload() - Method in exception org.hyperledger.fabric.shim.ChaincodeException
-
Returns the response payload or
null
if there is no response. - getPoolSize() - Method in interface org.hyperledger.fabric.metrics.TaskMetricsCollector
-
Gets the current size of the pool
- getPrivateData(String, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the value of the specified
key
from the specifiedcollection
. - getPrivateDataByPartialCompositeKey(String, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns all existing keys, and their values, that are prefixed by the specified partial
CompositeKey
in a given private collection. - getPrivateDataByPartialCompositeKey(String, String, String...) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns all existing keys, and their values, that are prefixed by the specified partial
CompositeKey
in a given private collection. - getPrivateDataByPartialCompositeKey(String, CompositeKey) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns all existing keys, and their values, that are prefixed by the specified partial
CompositeKey
in a given private collection. - getPrivateDataByRange(String, String, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns all existing keys, and their values, that are lexicographically between
startkey
(inclusive) and theendKey
(exclusive) in a given private collection. - getPrivateDataHash(String, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
- getPrivateDataQueryResult(String, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Perform a rich query against a given private collection.
- getPrivateDataUTF8(String, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the byte array value specified by the key and decoded as a UTF-8 encoded string, from the sidedb collection.
- getPrivateDataValidationParameter(String, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Retrieves the key-level endorsement policy for the private data specified by
key
. - getProvider() - Static method in class org.hyperledger.fabric.metrics.Metrics
- getQueryResult(String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Performs a "rich" query against a state database.
- getQueryResultWithPagination(String, int, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Performs a "rich" query against a state database.
- getSignedProposal() - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the signed transaction proposal currently being executed.
- getState() - Method in class org.hyperledger.fabric.shim.ChaincodeBase
- getState(String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the value of the specified
key
from the ledger. - getStateByPartialCompositeKey(String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns all existing keys, and their values, that are prefixed by the specified partial
CompositeKey
. - getStateByPartialCompositeKey(String, String...) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns all existing keys, and their values, that are prefixed by the specified partial
CompositeKey
. - getStateByPartialCompositeKey(CompositeKey) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns all existing keys, and their values, that are prefixed by the specified partial
CompositeKey
. - getStateByPartialCompositeKeyWithPagination(CompositeKey, int, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Queries the state in the ledger based on a given partial composite key.
- getStateByRange(String, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns all existing keys, and their values, that are lexicographically between
startkey
(inclusive) and theendKey
(exclusive). - getStateByRangeWithPagination(String, String, int, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns a range iterator over a set of keys in the ledger.
- getStateValidationParameter(String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
retrieves the key-level endorsement policy for
key
. - getStatus() - Method in class org.hyperledger.fabric.shim.Chaincode.Response
- getStatusCode() - Method in class org.hyperledger.fabric.shim.Chaincode.Response
- getStringArgs() - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the arguments corresponding to the call to
Chaincode.init(ChaincodeStub)
orChaincode.invoke(ChaincodeStub)
, cast to UTF-8 string. - getStringPayload() - Method in class org.hyperledger.fabric.shim.Chaincode.Response
- getStringState(String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the byte array value specified by the key and decoded as a UTF-8 encoded string, from the ledger.
- getStringValue() - Method in interface org.hyperledger.fabric.shim.ledger.KeyModification
-
Returns the key's value at the time returned by
KeyModification.getTimestamp()
, decoded as a UTF-8 string. - getStringValue() - Method in interface org.hyperledger.fabric.shim.ledger.KeyValue
-
Returns the state value, decoded as a UTF-8 string.
- getStub() - Method in class org.hyperledger.fabric.contract.Context
- getTimestamp() - Method in interface org.hyperledger.fabric.shim.ledger.KeyModification
-
Returns the timestamp of the key modification entry.
- getTransient() - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the transient map associated with the current transaction.
- getTxId() - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the transaction id for the current chaincode invocation request.
- getTxId() - Method in interface org.hyperledger.fabric.shim.ledger.KeyModification
-
Returns the transaction id.
- getTxTimestamp() - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Returns the timestamp when the transaction was created.
- getVal() - Method in enum org.hyperledger.fabric.shim.ext.sbe.StateBasedEndorsement.RoleType
- getValue() - Method in interface org.hyperledger.fabric.shim.ledger.KeyModification
-
Returns the key's value at the time returned by
KeyModification.getTimestamp()
. - getValue() - Method in interface org.hyperledger.fabric.shim.ledger.KeyValue
-
Returns the state value.
- getX509Certificate() - Method in class org.hyperledger.fabric.contract.ClientIdentity
-
getX509Certificate returns the X509 certificate associated with the invoking identity, or null if it was not identified by an X509 certificate, for instance if the MSP is implemented with an alternative to PKI such as [Identity Mixer](https://jira.hyperledger.org/browse/FAB-5673).
H
- hasStatusForCode(int) - Static method in enum org.hyperledger.fabric.shim.Chaincode.Response.Status
I
- info() - Method in annotation type org.hyperledger.fabric.contract.annotation.Contract
-
The Info object can be supplied to provide additional information about the contract, including title, description, version and license
- Info - Annotation Type in org.hyperledger.fabric.contract.annotation
-
Class level annotation that identifies this class as being an info object.
- init(ChaincodeStub) - Method in interface org.hyperledger.fabric.shim.Chaincode
-
Called during an instantiate transaction after the container has been established, allowing the chaincode to initialize its internal data.
- init(ChaincodeStub) - Method in class org.hyperledger.fabric.shim.ChaincodeBase
- initialize(Properties) - Static method in class org.hyperledger.fabric.metrics.Metrics
- initialize(Properties) - Method in interface org.hyperledger.fabric.metrics.MetricsProvider
-
Initialize method that is called immediately after creation.
- initializeLogging() - Method in class org.hyperledger.fabric.shim.ChaincodeBase
- INTERNAL_SERVER_ERROR - org.hyperledger.fabric.shim.Chaincode.Response.Status
- invoke(ChaincodeStub) - Method in interface org.hyperledger.fabric.shim.Chaincode
-
Called for every Invoke transaction.
- invoke(ChaincodeStub) - Method in class org.hyperledger.fabric.shim.ChaincodeBase
- invokeChaincode(String, List<byte[]>) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Invoke another chaincode using the same transaction context.
- invokeChaincode(String, List<byte[]>, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Locally calls the specified chaincode
invoke()
using the same transaction context. - invokeChaincodeWithStringArgs(String, String...) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Invoke another chaincode using the same transaction context.
- invokeChaincodeWithStringArgs(String, List<String>) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Invoke another chaincode using the same transaction context.
- invokeChaincodeWithStringArgs(String, List<String>, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Invoke another chaincode using the same transaction context.
- isDeleted() - Method in interface org.hyperledger.fabric.shim.ledger.KeyModification
-
Returns the deletion marker.
K
- KeyModification - Interface in org.hyperledger.fabric.shim.ledger
-
QueryResult for history query.
- KeyValue - Interface in org.hyperledger.fabric.shim.ledger
-
Query Result associating a state key with a value.
L
- license() - Method in annotation type org.hyperledger.fabric.contract.annotation.Info
-
License object that can be populated to include name and url.
- License - Annotation Type in org.hyperledger.fabric.contract.annotation
-
Class level annotation that identifies this class as being a license object.
- listOrgs() - Method in interface org.hyperledger.fabric.shim.ext.sbe.StateBasedEndorsement
-
Returns an array of channel orgs that are required to endorse changes
- Logger - Class in org.hyperledger.fabric
-
Deprecated.
- Logger(String) - Constructor for class org.hyperledger.fabric.Logger
-
Deprecated.
- Logging - Class in org.hyperledger.fabric
-
Assistance class to use when logging.
- Logging() - Constructor for class org.hyperledger.fabric.Logging
M
- Metrics - Class in org.hyperledger.fabric.metrics
-
Metrics setups up the provider in use from the configuration supplied If not enabled, nothing happens, but if enabled but no specific logger default is used that uses the org.hyperledger.Performance logger
- Metrics() - Constructor for class org.hyperledger.fabric.metrics.Metrics
- MetricsProvider - Interface in org.hyperledger.fabric.metrics
-
Interface to be implemented to send metrics on the chaincode to the 'backend-of-choice'.
N
- name() - Method in annotation type org.hyperledger.fabric.contract.annotation.Contact
- name() - Method in annotation type org.hyperledger.fabric.contract.annotation.Contract
-
Normally the name of the class is used to refer to the contract (name without package).
- name() - Method in annotation type org.hyperledger.fabric.contract.annotation.License
- name() - Method in annotation type org.hyperledger.fabric.contract.annotation.Transaction
-
The name of the callable transaction if it should be different to the method name.
- namespace() - Method in annotation type org.hyperledger.fabric.contract.annotation.DataType
- NAMESPACE - Static variable in class org.hyperledger.fabric.shim.ledger.CompositeKey
- newErrorResponse() - Static method in class org.hyperledger.fabric.shim.ChaincodeBase
-
Deprecated.
- newErrorResponse() - Static method in class org.hyperledger.fabric.shim.ResponseUtils
- newErrorResponse(byte[]) - Static method in class org.hyperledger.fabric.shim.ChaincodeBase
-
Deprecated.
- newErrorResponse(byte[]) - Static method in class org.hyperledger.fabric.shim.ResponseUtils
- newErrorResponse(String) - Static method in class org.hyperledger.fabric.shim.ChaincodeBase
-
Deprecated.
- newErrorResponse(String) - Static method in class org.hyperledger.fabric.shim.ResponseUtils
- newErrorResponse(String, byte[]) - Static method in class org.hyperledger.fabric.shim.ChaincodeBase
-
Deprecated.
- newErrorResponse(String, byte[]) - Static method in class org.hyperledger.fabric.shim.ResponseUtils
- newErrorResponse(Throwable) - Static method in class org.hyperledger.fabric.shim.ChaincodeBase
-
Deprecated.
- newErrorResponse(Throwable) - Static method in class org.hyperledger.fabric.shim.ResponseUtils
- newSuccessResponse() - Static method in class org.hyperledger.fabric.shim.ChaincodeBase
-
Deprecated.
- newSuccessResponse() - Static method in class org.hyperledger.fabric.shim.ResponseUtils
- newSuccessResponse(byte[]) - Static method in class org.hyperledger.fabric.shim.ChaincodeBase
-
Deprecated.
- newSuccessResponse(byte[]) - Static method in class org.hyperledger.fabric.shim.ResponseUtils
- newSuccessResponse(String) - Static method in class org.hyperledger.fabric.shim.ChaincodeBase
-
Deprecated.
- newSuccessResponse(String) - Static method in class org.hyperledger.fabric.shim.ResponseUtils
- newSuccessResponse(String, byte[]) - Static method in class org.hyperledger.fabric.shim.ChaincodeBase
-
Deprecated.
- newSuccessResponse(String, byte[]) - Static method in class org.hyperledger.fabric.shim.ResponseUtils
O
- org.hyperledger.fabric - package org.hyperledger.fabric
-
This is the project to support the writing of Contracts with the JVM runtime - enabling development of using Java language or other JVM based languages
- org.hyperledger.fabric.contract - package org.hyperledger.fabric.contract
-
This is the project to support the writing of Contracts with the JVM runtime - enabling development of using Java language or other JVM based languages
- org.hyperledger.fabric.contract.annotation - package org.hyperledger.fabric.contract.annotation
- org.hyperledger.fabric.metrics - package org.hyperledger.fabric.metrics
-
Supports collection of metrics
- org.hyperledger.fabric.shim - package org.hyperledger.fabric.shim
-
This is the pacakge the supports the chaincode style of development.
- org.hyperledger.fabric.shim.ext.sbe - package org.hyperledger.fabric.shim.ext.sbe
- org.hyperledger.fabric.shim.ledger - package org.hyperledger.fabric.shim.ledger
P
- parseCompositeKey(String) - Static method in class org.hyperledger.fabric.shim.ledger.CompositeKey
- PERFLOGGER - Static variable in class org.hyperledger.fabric.Logging
- policy() - Method in interface org.hyperledger.fabric.shim.ext.sbe.StateBasedEndorsement
-
Returns the endorsement policy as bytes
- processCommandLineOptions(String[]) - Method in class org.hyperledger.fabric.shim.ChaincodeBase
- processEnvironmentOptions() - Method in class org.hyperledger.fabric.shim.ChaincodeBase
- Property - Annotation Type in org.hyperledger.fabric.contract.annotation
-
Field and parameter level annotation defining a property of the class (identified by
DataType
) Can also be used on the parameters of transaction functions - putPrivateData(String, String, byte[]) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Puts the specified
key
andvalue
into the transaction's private writeset. - putPrivateData(String, String, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Writes the specified value and key into the sidedb collection value converted to byte array.
- putState(String, byte[]) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Puts the specified
key
andvalue
into the transaction's writeset as a data-write proposal. - putStringState(String, String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Writes the specified value and key into the ledger
Q
- QueryResultsIterator<T> - Interface in org.hyperledger.fabric.shim.ledger
-
QueryResultsIterator allows a chaincode to iterate over a set of key/value pairs returned by range, execute and history queries.
- QueryResultsIteratorWithMetadata<T> - Interface in org.hyperledger.fabric.shim.ledger
-
QueryResultsIteratorWithMetadata allows a chaincode to iterate over a set of key/value pairs returned by range, execute and history queries.
R
- READY - org.hyperledger.fabric.shim.ChaincodeBase.CCState
- Response(int, String, byte[]) - Constructor for class org.hyperledger.fabric.shim.Chaincode.Response
- Response(Chaincode.Response.Status, String, byte[]) - Constructor for class org.hyperledger.fabric.shim.Chaincode.Response
- ResponseUtils - Class in org.hyperledger.fabric.shim
- ResponseUtils() - Constructor for class org.hyperledger.fabric.shim.ResponseUtils
- RoleTypeMember - org.hyperledger.fabric.shim.ext.sbe.StateBasedEndorsement.RoleType
-
RoleTypeMember identifies an org's member identity
- RoleTypePeer - org.hyperledger.fabric.shim.ext.sbe.StateBasedEndorsement.RoleType
-
RoleTypePeer identifies an org's peer identity
S
- schema() - Method in annotation type org.hyperledger.fabric.contract.annotation.Property
-
Allows each property to be defined a detail set of rules to determine the valid types of this data.
- setEvent(String, byte[]) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Defines the CHAINCODE type event that will be posted to interested clients when the chaincode's result is committed to the ledger.
- setLogLevel(String) - Static method in class org.hyperledger.fabric.Logging
-
Sets the log level to the the
- setPrivateDataValidationParameter(String, String, byte[]) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Sets the key-level endorsement policy for the private data specified by
key
. - setState(ChaincodeBase.CCState) - Method in class org.hyperledger.fabric.shim.ChaincodeBase
- setStateValidationParameter(String, byte[]) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Sets the key-level endorsement policy for
key
. - setTaskMetricsCollector(TaskMetricsCollector) - Method in interface org.hyperledger.fabric.metrics.MetricsProvider
-
Pass a reference to this task service for information gathering.
- splitCompositeKey(String) - Method in interface org.hyperledger.fabric.shim.ChaincodeStub
-
Parses a composite key
CompositeKey
from a string. - start(String[]) - Method in class org.hyperledger.fabric.shim.ChaincodeBase
-
Start chaincode
- StateBasedEndorsement - Interface in org.hyperledger.fabric.shim.ext.sbe
-
StateBasedEndorsement provides a set of convenience methods to create and modify a state-based endorsement policy.
- StateBasedEndorsement.RoleType - Enum in org.hyperledger.fabric.shim.ext.sbe
-
RoleType of an endorsement policy's identity
- stub - Variable in class org.hyperledger.fabric.contract.Context
- submit() - Method in annotation type org.hyperledger.fabric.contract.annotation.Transaction
-
TRUE indicates that this function is intended to be called with the 'submit' semantics FALSE indicates that this is intended to be called with the evaluate semantics
- SUCCESS - org.hyperledger.fabric.shim.Chaincode.Response.Status
T
- TaskMetricsCollector - Interface in org.hyperledger.fabric.metrics
-
Collect metrics relating to the task execution.
- termsOfService() - Method in annotation type org.hyperledger.fabric.contract.annotation.Info
- title() - Method in annotation type org.hyperledger.fabric.contract.annotation.Info
- toJsonString(ChaincodeShim.ChaincodeMessage) - Static method in class org.hyperledger.fabric.shim.ChaincodeBase
- toString() - Method in class org.hyperledger.fabric.shim.ledger.CompositeKey
- Transaction - Annotation Type in org.hyperledger.fabric.contract.annotation
-
Method level annotation indicating the method to be a callable transaction function.
U
- unknownTransaction(Context) - Method in interface org.hyperledger.fabric.contract.ContractInterface
-
Invoked for any transaction that does not exist.
- url() - Method in annotation type org.hyperledger.fabric.contract.annotation.Contact
- url() - Method in annotation type org.hyperledger.fabric.contract.annotation.License
V
- validateOptions() - Method in class org.hyperledger.fabric.shim.ChaincodeBase
- validateSimpleKeys(String...) - Static method in class org.hyperledger.fabric.shim.ledger.CompositeKey
-
To ensure that simple keys do not go into composite key namespace, we validate simple key to check whether the key starts with 0x00 (which is the namespace for compositeKey).
- valueOf(String) - Static method in enum org.hyperledger.fabric.shim.Chaincode.Response.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.hyperledger.fabric.shim.ChaincodeBase.CCState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.hyperledger.fabric.shim.ext.sbe.StateBasedEndorsement.RoleType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.hyperledger.fabric.shim.Chaincode.Response.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.hyperledger.fabric.shim.ChaincodeBase.CCState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.hyperledger.fabric.shim.ext.sbe.StateBasedEndorsement.RoleType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version() - Method in annotation type org.hyperledger.fabric.contract.annotation.Info
All Classes All Packages