Constructor and Description |
---|
IntentOperationContext(List<T> intentsToUninstall,
List<T> intentsToInstall,
IntentInstallationContext intentInstallationContext)
Creates an operation context.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
IntentInstallationContext |
intentInstallationContext()
Retrieves high level Intent installation information.
|
List<T> |
intentsToInstall()
Retrieves installable Intents to install.
|
List<T> |
intentsToUninstall()
Retrieves installable Intents to uninstall.
|
Optional<IntentData> |
toInstall()
Retrieves high level Intent data to install.
|
Optional<IntentData> |
toUninstall()
Retrieves high level Intent data to uninstall.
|
public IntentOperationContext(List<T> intentsToUninstall, List<T> intentsToInstall, IntentInstallationContext intentInstallationContext)
intentsToUninstall
- the Intents to uninstallintentsToInstall
- the Intents to installintentInstallationContext
- the high level Intent installation informationpublic List<T> intentsToUninstall()
public List<T> intentsToInstall()
public IntentInstallationContext intentInstallationContext()
public Optional<IntentData> toUninstall()
public Optional<IntentData> toInstall()