Package org.onosproject.net.intent
Interface ResourceContext
-
@Beta public interface ResourceContext
Class providing resource information to constraints. This class is subject to be removed during refactorings on Constraint.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isAvailable(Resource resource)
Returns the availability of the specified resource.
-
-
-
Method Detail
-
isAvailable
boolean isAvailable(Resource resource)
Returns the availability of the specified resource.- Parameters:
resource
- resource to check the availability- Returns:
- true if available, otherwise false
-
-