Package org.hyperledger.fabric.sdk
Class CollectionConfigPackage
- java.lang.Object
-
- org.hyperledger.fabric.sdk.CollectionConfigPackage
-
public class CollectionConfigPackage extends java.lang.Object
Collection of information on chaincode collection.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CollectionConfigPackage.CollectionConfig
Collection information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hyperledger.fabric.protos.common.Collection.CollectionConfigPackage
getCollectionConfigPackage()
The raw collection information returned from the peer.java.util.Collection<CollectionConfigPackage.CollectionConfig>
getCollectionConfigs()
Collection of the chaincode collections.
-
-
-
Method Detail
-
getCollectionConfigPackage
public org.hyperledger.fabric.protos.common.Collection.CollectionConfigPackage getCollectionConfigPackage() throws com.google.protobuf.InvalidProtocolBufferException
The raw collection information returned from the peer.- Returns:
- The raw collection information returned from the peer.
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
getCollectionConfigs
public java.util.Collection<CollectionConfigPackage.CollectionConfig> getCollectionConfigs() throws com.google.protobuf.InvalidProtocolBufferException
Collection of the chaincode collections.- Returns:
- Collection of the chaincode collection
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
-