| Package | Description |
|---|---|
| org.onosproject.net.intent |
Set of abstractions for conveying high-level intents for treatment of
selected network traffic by allowing applications to express the
what rather than the how.
|
| Modifier and Type | Method and Description |
|---|---|
IntentState |
IntentStore.getIntentState(Key intentKey)
Returns the state of the specified intent.
|
IntentState |
IntentService.getIntentState(Key intentKey)
Retrieves the state of an intent by its identifier.
|
IntentState |
IntentData.request() |
IntentState |
IntentData.state()
Returns the state of the intent.
|
static IntentState |
IntentState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IntentState[] |
IntentState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static IntentEvent |
IntentEvent.getEvent(IntentState state,
Intent intent)
Creates an IntentEvent based on the given state and intent.
|
void |
IntentData.setState(IntentState newState)
Updates the state of the intent to the given new state.
|
| Constructor and Description |
|---|
IntentData(Intent intent,
IntentState state,
Timestamp version)
Creates a new intent data object.
|
Copyright © 2015. All rights reserved.