Class CollectionConfigPackage



  • public class CollectionConfigPackage
    extends java.lang.Object
    Collection of information on chaincode collection.
    • 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