Class InstallProposalRequest

java.lang.Object
org.hyperledger.fabric.sdk.TransactionRequest
org.hyperledger.fabric.sdk.InstallProposalRequest

@Deprecated public class InstallProposalRequest extends TransactionRequest
InstallProposalRequest.
  • Method Details

    • setChaincodeMetaInfLocation

      public void setChaincodeMetaInfLocation(File chaincodeMetaInfLocation) throws InvalidArgumentException
      Deprecated.
      Set the META-INF directory to be used for packaging chaincode. Only applies if source location chaincodeSourceLocation for the chaincode is set.
      Parameters:
      chaincodeMetaInfLocation - The directory where the "META-INF" directory is located..
      Throws:
      InvalidArgumentException
      See Also:
    • getChaincodeInputStream

      public InputStream getChaincodeInputStream()
      Deprecated.
    • setChaincodeInputStream

      public void setChaincodeInputStream(InputStream chaincodeInputStream) throws InvalidArgumentException
      Deprecated.
      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 File getChaincodeSourceLocation()
      Deprecated.
    • setChaincodeSourceLocation

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