Package org.onosproject.net.resource
Class DiscreteFactory
- java.lang.Object
-
- org.onosproject.net.resource.DiscreteFactory
-
@Beta public final class DiscreteFactory extends java.lang.Object
Factory class for discrete-type resource related instances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscreteResourceId
id()
Returns the resource ID for discrete-type.DiscreteResource
resource()
Returns the resource for discrete-type.
-
-
-
Method Detail
-
id
public DiscreteResourceId id()
Returns the resource ID for discrete-type.- Returns:
- discrete-type resource ID
-
resource
public DiscreteResource resource()
Returns the resource for discrete-type.- Returns:
- discrete-type resource
-
-