Package org.onosproject.net.group
Interface GroupDescription
-
- All Known Subinterfaces:
Group,StoredGroupEntry
- All Known Implementing Classes:
DefaultGroup,DefaultGroupDescription
public interface GroupDescriptionONOS representation of group description that is used to create a group. It contains immutable properties of a ONOS group construct such as "type", "DeviceId", "appCookie", "appId" and "buckets"
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classGroupDescription.TypeTypes of the group supported by ONOS.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GroupKeyappCookie()Returns application cookie associated with a group object.ApplicationIdappId()Returns application identifier that has created this group object.GroupBucketsbuckets()Returns group buckets of a group.DeviceIddeviceId()Returns device identifier on which this group object is created.java.lang.IntegergivenGroupId()Returns groupId passed in by caller.GroupDescription.Typetype()Returns type of a group object.
-
-
-
Method Detail
-
type
GroupDescription.Type type()
Returns type of a group object.- Returns:
- GroupType group type
-
deviceId
DeviceId deviceId()
Returns device identifier on which this group object is created.- Returns:
- DeviceId device identifier
-
appId
ApplicationId appId()
Returns application identifier that has created this group object.- Returns:
- ApplicationId application identifier
-
appCookie
GroupKey appCookie()
Returns application cookie associated with a group object.- Returns:
- GroupKey application cookie
-
givenGroupId
java.lang.Integer givenGroupId()
Returns groupId passed in by caller.- Returns:
- Integer group id passed in by caller. May be null if caller passed in null to let groupService determine the group id.
-
buckets
GroupBuckets buckets()
Returns group buckets of a group.- Returns:
- GroupBuckets immutable list of group bucket
-
-