public final class BatchWrite extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchWrite.Operation |
static class |
BatchWrite.OpType |
| Modifier and Type | Method and Description |
|---|---|
BatchWrite |
createIntent(Intent intent) |
boolean |
isEmpty() |
static BatchWrite |
newInstance()
Returns a new empty batch write operation builder.
|
List<BatchWrite.Operation> |
operations() |
BatchWrite |
removeInstalledIntents(IntentId intentId) |
BatchWrite |
removeIntent(IntentId intentId) |
BatchWrite |
setInstallableIntents(IntentId intentId,
List<Intent> installableIntents) |
BatchWrite |
setState(Intent intent,
IntentState newState) |
String |
toString() |
public static BatchWrite newInstance()
public List<BatchWrite.Operation> operations()
public boolean isEmpty()
public BatchWrite createIntent(Intent intent)
public BatchWrite removeIntent(IntentId intentId)
public BatchWrite setState(Intent intent, IntentState newState)
public BatchWrite setInstallableIntents(IntentId intentId, List<Intent> installableIntents)
public BatchWrite removeInstalledIntents(IntentId intentId)
Copyright © 2015. All rights reserved.