Package org.onosproject.net.pi.runtime
Class PiActionProfileGroup
- java.lang.Object
- 
- org.onosproject.net.pi.runtime.PiActionProfileGroup
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPiActionProfileGroup.BuilderBuilder of action profile groups.static classPiActionProfileGroup.WeightedMemberWeighted reference to an action profile member as used in an action profile group.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PiActionProfileIdactionProfile()Returns the ID of the action profile where this group belong.static PiActionProfileGroup.Builderbuilder()Returns a new builder of action profile groups.booleanequals(Object obj)PiActionProfileGroupHandlehandle(DeviceId deviceId)Returns a handle for this PI entity and the given device ID.inthashCode()PiActionProfileGroupIdid()Returns the ID of this action profile group.intmaxSize()Returns the maximum number of members that this group can hold.Optional<PiActionProfileGroup.WeightedMember>member(PiActionProfileMemberId memberId)Returns the group member identified by the given action profile member ID, if present.Collection<PiActionProfileGroup.WeightedMember>members()Returns the list of member references of this action profile group.PiEntityTypepiEntityType()Returns the type of this entity.StringtoString()
 
- 
- 
- 
Method Detail- 
idpublic PiActionProfileGroupId id() Returns the ID of this action profile group.- Returns:
- action profile group ID
 
 - 
memberspublic Collection<PiActionProfileGroup.WeightedMember> members() Returns the list of member references of this action profile group.- Returns:
- collection of action profile members.
 
 - 
memberpublic Optional<PiActionProfileGroup.WeightedMember> member(PiActionProfileMemberId memberId) Returns the group member identified by the given action profile member ID, if present.- Parameters:
- memberId- action profile member ID
- Returns:
- optional group member
 
 - 
maxSizepublic int maxSize() Returns the maximum number of members that this group can hold. 0 signifies that a limit is not set.- Returns:
- maximum number of members that this group can hold
 
 - 
actionProfilepublic PiActionProfileId actionProfile() Returns the ID of the action profile where this group belong.- Returns:
- action profile ID
 
 - 
builderpublic static PiActionProfileGroup.Builder builder() Returns a new builder of action profile groups.- Returns:
- action profile group builder
 
 - 
piEntityTypepublic PiEntityType piEntityType() Description copied from interface:PiEntityReturns the type of this entity.- Specified by:
- piEntityTypein interface- PiEntity
- Returns:
- entity type
 
 - 
handlepublic PiActionProfileGroupHandle handle(DeviceId deviceId) Description copied from interface:PiEntityReturns a handle for this PI entity and the given device ID.
 
- 
 
-