public class GroupMemberSelector extends Object
Modifier and Type | Field and Description |
---|---|
protected GroupSelector |
group |
protected UserSelectorArg |
user |
Constructor and Description |
---|
GroupMemberSelector(GroupSelector group,
UserSelectorArg user)
Argument for selecting a group and a single user.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
GroupSelector |
getGroup()
Specify a group.
|
UserSelectorArg |
getUser()
Identity of a user that is a member of
getGroup() . |
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final GroupSelector group
protected final UserSelectorArg user
public GroupMemberSelector(GroupSelector group, UserSelectorArg user)
group
- Specify a group. Must not be null
.user
- Identity of a user that is a member of getGroup()
. Must not be null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public GroupSelector getGroup()
null
.public UserSelectorArg getUser()
getGroup()
.null
.public String toStringMultiline()
The returned String may contain newlines.