Package org.hyperledger.fabric.sdk
Class CollectionConfigPackage
java.lang.Object
org.hyperledger.fabric.sdk.CollectionConfigPackage
Collection of information on chaincode collection.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCollection information. -
Method Summary
Modifier and TypeMethodDescriptionorg.hyperledger.fabric.protos.peer.Collection.CollectionConfigPackageThe raw collection information returned from the peer.Collection of the chaincode collections.
-
Method Details
-
getCollectionConfigPackage
public org.hyperledger.fabric.protos.peer.Collection.CollectionConfigPackage getCollectionConfigPackage() throws com.google.protobuf.InvalidProtocolBufferExceptionThe raw collection information returned from the peer.- Returns:
- The raw collection information returned from the peer.
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
getCollectionConfigs
public Collection<CollectionConfigPackage.CollectionConfig> getCollectionConfigs() throws com.google.protobuf.InvalidProtocolBufferExceptionCollection of the chaincode collections.- Returns:
- Collection of the chaincode collection
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-