public static final class IntentOperations.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
IntentOperations.Builder |
addReplaceOperation(IntentId oldIntentId,
Intent newIntent)
Adds an intent submit operation.
|
IntentOperations.Builder |
addSubmitOperation(Intent intent)
Adds an intent submit operation.
|
IntentOperations.Builder |
addUpdateOperation(IntentId intentId)
Adds an intent update operation.
|
IntentOperations.Builder |
addWithdrawOperation(IntentId intentId)
Adds an intent submit operation.
|
IntentOperations |
build()
Builds a batch of intent operations.
|
public IntentOperations.Builder addSubmitOperation(Intent intent)
intent - intent to be submittedpublic IntentOperations.Builder addReplaceOperation(IntentId oldIntentId, Intent newIntent)
oldIntentId - intent to be replacednewIntent - replacement intentpublic IntentOperations.Builder addWithdrawOperation(IntentId intentId)
intentId - identifier of the intent to be withdrawnpublic IntentOperations.Builder addUpdateOperation(IntentId intentId)
intentId - identifier of the intent to be updatedpublic IntentOperations build()
Copyright © 2015. All rights reserved.