Package org.hyperledger.fabric.sdk
Class LifecycleQueryChaincodeDefinitionsResult
java.lang.Object
org.hyperledger.fabric.sdk.LifecycleQueryChaincodeDefinitionsResult
Definition of a chaincode.
-
Method Summary
Modifier and TypeMethodDescriptionCollection configurations defined for this chaincode.The endorsement plugin defined for this chaincode.booleanWhether initialization is required for this chaincode.getName()The chaincode name.longThe sequence of change for this chaincode.byte[]The validation parameter bytes that were set when the chaincode was defined.The validation plugin defined for this chaincode.The chaincode version.
-
Method Details
-
getName
The chaincode name.- Returns:
- A name.
-
getSequence
public long getSequence()The sequence of change for this chaincode.- Returns:
- the sequence.
-
getVersion
The chaincode version.- Returns:
- a version.
-
getEndorsementPlugin
The endorsement plugin defined for this chaincode.- Returns:
- An endorsement plugin.
-
getValidationPlugin
The validation plugin defined for this chaincode.- Returns:
- A validation plugin.
-
getValidationParameter
public byte[] getValidationParameter()The validation parameter bytes that were set when the chaincode was defined.- Returns:
- A validation parameter.
-
getChaincodeCollectionConfiguration
public ChaincodeCollectionConfiguration getChaincodeCollectionConfiguration() throws ProposalExceptionCollection configurations defined for this chaincode.- Returns:
- Collection configurations.
- Throws:
ProposalException- if the proposal response content is invalid.
-
getInitRequired
public boolean getInitRequired()Whether initialization is required for this chaincode.- Returns:
- true if initialization is required; otherwise false.
-