Class CollectionConfigPackage

java.lang.Object
org.hyperledger.fabric.sdk.CollectionConfigPackage

public class CollectionConfigPackage extends Object
Collection of information on chaincode collection.
  • Method Details

    • getCollectionConfigPackage

      public org.hyperledger.fabric.protos.peer.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 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