AbstractStateReplacementFlow.UpgradeTx
Keywords: net.corda.core.flows.AbstractStateReplacementFlow.UpgradeTx class
Date: 2023-09-18

net.corda.core.flows

## Class AbstractStateReplacementFlow.UpgradeTx

- net.corda.core.flows.AbstractStateReplacementFlow.UpgradeTx

- Enclosing class:
    AbstractStateReplacementFlow

      public static class AbstractStateReplacementFlow.UpgradeTx

  The assembled transaction for upgrading a contract.

- - ### Constructor Detail

    - #### UpgradeTx

          public UpgradeTx(@NotNull
                           SignedTransaction stx)

      The assembled transaction for upgrading a contract.

      Parameters:
        `stx` - signed transaction to do the upgrade.

  - ### Method Detail

    - #### getStx

          @NotNull
          public SignedTransaction getStx()

      signed transaction to do the upgrade.

    - #### component1

          @NotNull
          public SignedTransaction component1()

      signed transaction to do the upgrade.

    - #### copy

          @NotNull
          public net.corda.core.flows.AbstractStateReplacementFlow.UpgradeTx copy(@NotNull
                                                                                           SignedTransaction stx)

      The assembled transaction for upgrading a contract.

      Parameters:
        `stx` - signed transaction to do the upgrade.

    - #### toString

          @NotNull
          public java.lang.String toString()

      The assembled transaction for upgrading a contract.

    - #### hashCode

          public int hashCode()

      The assembled transaction for upgrading a contract.

    - #### equals

          public boolean equals(@Nullable
                                java.lang.Object p)

      The assembled transaction for upgrading a contract.