Package org.onosproject.net.pi.runtime
Class PiActionProfileGroupHandle
- java.lang.Object
-
- org.onosproject.net.pi.runtime.PiHandle
-
- org.onosproject.net.pi.runtime.PiActionProfileGroupHandle
-
@Beta public final class PiActionProfileGroupHandle extends PiHandle
Global identifier of a PI action profile group applied to a device, uniquely defined by a device ID, action profile ID and group ID.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PiActionProfileId
actionProfile()
Returns the action profile ID of this handle.PiEntityType
entityType()
Returns the type of entity identified by this handle.boolean
equals(java.lang.Object o)
PiActionProfileGroupId
groupId()
Returns the group ID of this handle.int
hashCode()
static PiActionProfileGroupHandle
of(DeviceId deviceId, PiActionProfileGroup group)
Creates a new handle for the given device ID and PI action profile group.java.lang.String
toString()
-
-
-
Method Detail
-
of
public static PiActionProfileGroupHandle of(DeviceId deviceId, PiActionProfileGroup group)
Creates a new handle for the given device ID and PI action profile group.- Parameters:
deviceId
- device IDgroup
- PI action profile group- Returns:
- PI action profile group handle
-
actionProfile
public PiActionProfileId actionProfile()
Returns the action profile ID of this handle.- Returns:
- action profile ID
-
groupId
public PiActionProfileGroupId groupId()
Returns the group ID of this handle.- Returns:
- group ID
-
entityType
public PiEntityType entityType()
Description copied from class:PiHandle
Returns the type of entity identified by this handle.- Specified by:
entityType
in classPiHandle
- Returns:
- PI entity type
-
-