Class ApplicationUpdateTransactionBuilder<T extends ApplicationUpdateTransactionBuilder<T>>
- java.lang.Object
-
- com.algorand.algosdk.builder.transaction.TransactionParametersBuilder<T>
-
- com.algorand.algosdk.builder.transaction.TransactionBuilder<T>
-
- com.algorand.algosdk.builder.transaction.ApplicationBaseTransactionBuilder<T>
-
- com.algorand.algosdk.builder.transaction.ApplicationUpdateTransactionBuilder<T>
-
- All Implemented Interfaces:
ApplicationCallReferencesSetter<T>
,TEALProgramSetter<T>
- Direct Known Subclasses:
ApplicationCreateTransactionBuilder
public class ApplicationUpdateTransactionBuilder<T extends ApplicationUpdateTransactionBuilder<T>> extends ApplicationBaseTransactionBuilder<T> implements TEALProgramSetter<T>
-
-
Field Summary
-
Fields inherited from class com.algorand.algosdk.builder.transaction.TransactionBuilder
group, type
-
Fields inherited from class com.algorand.algosdk.builder.transaction.TransactionParametersBuilder
fee, firstValid, flatFee, genesisHash, genesisID, lastValid, lease, note, rekeyTo, sender
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ApplicationUpdateTransactionBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyTo(Transaction txn)
T
approvalProgram(TEALProgram approvalProgram)
ApprovalProgram determines whether or not this ApplicationCall transaction will be approved or not.static ApplicationUpdateTransactionBuilder<?>
Builder()
Initialize aApplicationUpdateTransactionBuilder
.T
clearStateProgram(TEALProgram clearStateProgram)
ClearStateProgram executes when a clear state ApplicationCall transaction is executed.-
Methods inherited from class com.algorand.algosdk.builder.transaction.ApplicationBaseTransactionBuilder
accounts, applicationId, args, argsBase64Encoded, boxReferences, foreignApps, foreignAssets, onCompletion
-
Methods inherited from class com.algorand.algosdk.builder.transaction.TransactionBuilder
build, group, group, groupB64, groupUTF8
-
Methods inherited from class com.algorand.algosdk.builder.transaction.TransactionParametersBuilder
fee, fee, fee, firstValid, firstValid, firstValid, flatFee, flatFee, flatFee, genesisHash, genesisHash, genesisHashB64, genesisHashUTF8, genesisID, lastValid, lastValid, lastValid, lease, lease, leaseB64, leaseUTF8, lookupParams, note, noteB64, noteUTF8, rekey, rekey, rekey, sender, sender, sender, suggestedParams
-
-
-
-
Method Detail
-
Builder
public static ApplicationUpdateTransactionBuilder<?> Builder()
Initialize aApplicationUpdateTransactionBuilder
.
-
applyTo
protected void applyTo(Transaction txn)
- Overrides:
applyTo
in classApplicationBaseTransactionBuilder<T extends ApplicationUpdateTransactionBuilder<T>>
-
approvalProgram
public T approvalProgram(TEALProgram approvalProgram)
Description copied from interface:TEALProgramSetter
ApprovalProgram determines whether or not this ApplicationCall transaction will be approved or not.- Specified by:
approvalProgram
in interfaceTEALProgramSetter<T extends ApplicationUpdateTransactionBuilder<T>>
-
clearStateProgram
public T clearStateProgram(TEALProgram clearStateProgram)
Description copied from interface:TEALProgramSetter
ClearStateProgram executes when a clear state ApplicationCall transaction is executed. This program may not reject the transaction, only update state.- Specified by:
clearStateProgram
in interfaceTEALProgramSetter<T extends ApplicationUpdateTransactionBuilder<T>>
-
-