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