public static class ContractUpgradeFlow.Initiate<OldState extends ContractState,NewState extends ContractState>
extends Instigator
This flow begins the contract upgrade process.
Instigator.Companion
Companion
Constructor and Description |
---|
Initiate(StateAndRef<? extends OldState> originalState,
java.lang.Class<? extends net.corda.core.contracts.UpgradedContract<? super OldState,? extends NewState>> newContractClass)
This flow begins the contract upgrade process.
|
Modifier and Type | Method and Description |
---|---|
AbstractStateReplacementFlow.UpgradeTx |
assembleTx()
Build the upgrade transaction.
|
assembleTx, call, getModification, getOriginalState, getParticipantSessions, getProgressTracker
await, await, call, checkFlowIsNotKilled, checkFlowIsNotKilled, checkFlowPermission, close, flowStackSnapshot, getFlowInfo, getLogger, getOurIdentity, getOurIdentityAndCert, getProgressTracker, getRunId, getServiceHub, initiateFlow, initiateFlow, isKilled, persistFlowStackSnapshot, receive, receiveAll, receiveAllMap, recordAuditEvent, send, sendAll, sendAllMap, sendAndReceive, subFlow, track, trackStepsTree, trackStepsTreeIndex, waitForLedgerCommit, waitForStateConsumption
public Initiate(StateAndRef<? extends OldState> originalState, java.lang.Class<? extends net.corda.core.contracts.UpgradedContract<? super OldState,? extends NewState>> newContractClass)
This flow begins the contract upgrade process.
public AbstractStateReplacementFlow.UpgradeTx assembleTx()
Build the upgrade transaction.