public class InstallCoordinator extends Object
| Constructor and Description |
|---|
InstallCoordinator(InstallerRegistry installerRegistry,
org.onosproject.net.intent.IntentStore intentStore)
Creates an InstallCoordinator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
failed(org.onosproject.net.intent.IntentOperationContext context)
Handles failed operation context.
|
void |
installIntents(Optional<org.onosproject.net.intent.IntentData> toUninstall,
Optional<org.onosproject.net.intent.IntentData> toInstall)
Applies Intent data to be uninstalled and to be installed.
|
void |
success(org.onosproject.net.intent.IntentOperationContext context)
Handles success operation context.
|
public InstallCoordinator(InstallerRegistry installerRegistry, org.onosproject.net.intent.IntentStore intentStore)
installerRegistry - the installer registryintentStore - the Intent storepublic void installIntents(Optional<org.onosproject.net.intent.IntentData> toUninstall, Optional<org.onosproject.net.intent.IntentData> toInstall)
toUninstall - Intent data to be uninstalledtoInstall - Intent data to be installedpublic void success(org.onosproject.net.intent.IntentOperationContext context)
context - the operation contextpublic void failed(org.onosproject.net.intent.IntentOperationContext context)
context - the operation context