Class InstallProposalRequest

    • Method Detail

      • getChaincodeInputStream

        public java.io.InputStream getChaincodeInputStream​()
      • setChaincodeInputStream

        public void setChaincodeInputStream​(java.io.InputStream chaincodeInputStream)
                                     throws InvalidArgumentException
        Chaincode input stream containing the actual chaincode. Only format supported is a tar zip compressed input of the source. Only input stream or source location maybe used at the same time. The contents of the stream are not validated or inspected by the SDK.
        Parameters:
        chaincodeInputStream -
        Throws:
        InvalidArgumentException
      • getChaincodeSourceLocation

        public java.io.File getChaincodeSourceLocation​()
      • setChaincodeSourceLocation

        public void setChaincodeSourceLocation​(java.io.File chaincodeSourceLocation)
                                        throws InvalidArgumentException
        The location of the chaincode. Chaincode input stream and source location can not both be set.
        Parameters:
        chaincodeSourceLocation -
        Throws:
        InvalidArgumentException