Package org.onosproject.net.domain
Interface DomainIntentOperationsContext
-
public interface DomainIntentOperationsContext
Represents domain intent that does nothing on success or on error.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
onError(DomainIntentOperations idos)
Invoked when error is encountered while executing the domain intent.default void
onSuccess(DomainIntentOperations idops)
Invoked on successful execution of the domain intent.
-
-
-
Method Detail
-
onSuccess
default void onSuccess(DomainIntentOperations idops)
Invoked on successful execution of the domain intent.- Parameters:
idops
- domain intent to execute
-
onError
default void onError(DomainIntentOperations idos)
Invoked when error is encountered while executing the domain intent.- Parameters:
idos
- domain intent to execute
-
-