Package org.onosproject.net.intent
Interface IntentSetMultimap
-
@Beta public interface IntentSetMultimap
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
allocateMapping(IntentId keyIntentId, IntentId valIntentId)
Allocates the mapping between the given intents.java.util.Set<IntentId>
getMapping(IntentId intentId)
Returns the set of intents mapped to a lower intent.void
releaseMapping(IntentId intentId)
Releases the mapping of the given intent.
-
-
-
Method Detail
-
allocateMapping
boolean allocateMapping(IntentId keyIntentId, IntentId valIntentId)
Allocates the mapping between the given intents.- Parameters:
keyIntentId
- key intent IDvalIntentId
- value intent ID- Returns:
- true if mapping was successful, false otherwise
-
getMapping
java.util.Set<IntentId> getMapping(IntentId intentId)
Returns the set of intents mapped to a lower intent.- Parameters:
intentId
- intent ID- Returns:
- set of intent IDs
-
releaseMapping
void releaseMapping(IntentId intentId)
Releases the mapping of the given intent.- Parameters:
intentId
- intent ID
-
-