public static class ContractUpgradeFlow.Acceptor
extends Acceptor
Acceptor.Companion
Companion
Modifier and Type | Method and Description |
---|---|
void |
verifyProposal(AbstractStateReplacementFlow.Proposal<? extends java.lang.Class<? extends net.corda.core.contracts.UpgradedContract<? super net.corda.core.contracts.ContractState,?>>> proposal)
Check the state change proposal to confirm that it's acceptable to this node. Rules for verification depend
on the change proposed, and may further depend on the node itself (for example configuration). The
proposal is returned if acceptable, otherwise a
exception StateReplacementException is thrown. |
call, getOtherSide, getProgressTracker, verifyProposal
call, getCounterpartyMarker, getLogger, getProgressTracker, getRunId, getServiceHub, getStateMachine, receive, send, sendAndReceive, setStateMachine, subFlow, subFlow, track, waitForLedgerCommit
public Acceptor(Party otherSide)
public void verifyProposal(AbstractStateReplacementFlow.Proposal<? extends java.lang.Class<? extends net.corda.core.contracts.UpgradedContract<? super net.corda.core.contracts.ContractState,?>>> proposal)
Check the state change proposal to confirm that it's acceptable to this node. Rules for verification depend
on the change proposed, and may further depend on the node itself (for example configuration). The
proposal is returned if acceptable, otherwise a exception StateReplacementException
is thrown.
exception StateReplacementException