public class User extends UserHostmask
Forked and Maintained by Leon Blakey in PircBotX
Modifier and Type | Method and Description |
---|---|
UserSnapshot |
createSnapshot() |
boolean |
equals(Object user) |
String |
getAwayMessage()
User's away status
|
com.google.common.collect.ImmutableSortedSet<Channel> |
getChannels()
Get all channels this user is a part of.
|
com.google.common.collect.ImmutableSortedSet<Channel> |
getChannelsHalfOpIn()
Get all channels user has Half Operator status in.
|
com.google.common.collect.ImmutableSortedSet<Channel> |
getChannelsOpIn()
Get all channels user has Operator status in.
|
com.google.common.collect.ImmutableSortedSet<Channel> |
getChannelsOwnerIn()
Get all channels user has Owner status in.
|
com.google.common.collect.ImmutableSortedSet<Channel> |
getChannelsSuperOpIn()
Get all channels user has Super Operator status in.
|
com.google.common.collect.ImmutableSortedSet<Channel> |
getChannelsVoiceIn()
Get all channels user has Voice status in.
|
int |
getHops()
The number of hops it takes to this user.
|
String |
getRealName()
Realname/fullname of the user.
|
String |
getServer()
The exact server that this user is joined to.
|
UUID |
getUserId() |
com.google.common.collect.ImmutableSortedSet<UserLevel> |
getUserLevels(Channel channel)
Get all the levels this user holds in the channel.
|
int |
hashCode()
Hash code generated from UUID
|
boolean |
isAway() |
boolean |
isIrcop()
Users IRCop status
|
boolean |
isVerified()
Query the user with WHOIS to determine if they are verified *EXPENSIVE*.
|
String |
toString() |
compareTo, getBot, getExtbanPrefix, getHostmask, getHostname, getIdent, getLogin, getNick, send
public boolean isVerified()
WaitForQueue
public UserSnapshot createSnapshot()
public com.google.common.collect.ImmutableSortedSet<UserLevel> getUserLevels(Channel channel)
channel
- The channel to get the levels frompublic com.google.common.collect.ImmutableSortedSet<Channel> getChannels()
public com.google.common.collect.ImmutableSortedSet<Channel> getChannelsOpIn()
public com.google.common.collect.ImmutableSortedSet<Channel> getChannelsVoiceIn()
public com.google.common.collect.ImmutableSortedSet<Channel> getChannelsOwnerIn()
public com.google.common.collect.ImmutableSortedSet<Channel> getChannelsHalfOpIn()
public com.google.common.collect.ImmutableSortedSet<Channel> getChannelsSuperOpIn()
public boolean isAway()
public boolean equals(Object user)
equals
in class UserHostmask
public int hashCode()
hashCode
in class UserHostmask
@Generated(value="lombok") public UUID getUserId()
@Generated(value="lombok") public String getRealName()
@Generated(value="lombok") public String getAwayMessage()
@Generated(value="lombok") public boolean isIrcop()
@Generated(value="lombok") public String getServer()
@Generated(value="lombok") public int getHops()
@Generated(value="lombok") public String toString()
toString
in class UserHostmask
Copyright © 2010–2020 Leon Blakey. All rights reserved.