Package org.hyperledger.fabric.sdk
Class InstallProposalRequest
java.lang.Object
org.hyperledger.fabric.sdk.TransactionRequest
org.hyperledger.fabric.sdk.InstallProposalRequest
Deprecated.
InstallProposalRequest.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hyperledger.fabric.sdk.TransactionRequest
TransactionRequest.Type -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.voidsetChaincodeInputStream(InputStream chaincodeInputStream) Deprecated.Chaincode input stream containing the actual chaincode.voidsetChaincodeMetaInfLocation(File chaincodeMetaInfLocation) Deprecated.Set the META-INF directory to be used for packaging chaincode.voidsetChaincodeSourceLocation(File chaincodeSourceLocation) Deprecated.The location of the chaincode.Methods inherited from class org.hyperledger.fabric.sdk.TransactionRequest
doVerify, getArgBytes, getArgs, getChaincodeCollectionConfiguration, getChaincodeEndorsementPolicy, getChaincodeID, getChaincodeLanguage, getChaincodeName, getChaincodePath, getChaincodeVersion, getFabricChaincodeID, getFcn, getProposalWaitTime, getTransactionContext, getTransientMap, isInit, noChannelID, setArgBytes, setArgs, setArgs, setArgs, setChaincodeCollectionConfiguration, setChaincodeEndorsementPolicy, setChaincodeID, setChaincodeLanguage, setChaincodeName, setChaincodeVersion, setFcn, setInit, setProposalWaitTime, setTransactionContext, setUserContext
-
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 locationchaincodeSourceLocationfor the chaincode is set.- Parameters:
chaincodeMetaInfLocation- The directory where the "META-INF" directory is located..- Throws:
InvalidArgumentException- See Also:
-
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
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
-
LifecycleInstallChaincodeRequest