public static class DefaultWhoisData.Builder extends Object
DefaultWhoisData
.Constructor and Description |
---|
Builder(Client client,
String nick)
Constructs the builder.
|
Modifier and Type | Method and Description |
---|---|
void |
addChannels(String channels)
Adds channels, not erasing any previously added channels.
|
WhoisData |
build()
Builds a new
WhoisData from the provided information. |
String |
getNick()
Gets the user's nick.
|
void |
setAccount(String account)
Sets the account.
|
void |
setAway(String awayMessage)
Sets the away message.
|
void |
setHost(String host)
Sets the host.
|
void |
setIdleTime(long idleTime)
Sets the idle time.
|
void |
setOperatorInformation(String operatorInformation)
Sets the operator information.
|
void |
setRealName(String realName)
Sets the real name.
|
void |
setSecure()
Sets that the connection is known to be secure
|
void |
setServer(String server)
Sets the server.
|
void |
setServerDescription(String serverDescription)
Sets the server description.
|
void |
setSignOnTime(long signOnTime)
Sets the sign on time.
|
void |
setUserString(String userString)
Sets the user string.
|
public void setAccount(@Nonnull String account)
account
- accountpublic void addChannels(@Nonnull String channels)
channels
- channels to addpublic void setAway(@Nonnull String awayMessage)
awayMessage
- away messagepublic void setUserString(@Nonnull String userString)
userString
- user stringpublic void setRealName(@Nonnull String realName)
realName
- real namepublic void setServer(@Nonnull String server)
server
- serverpublic void setServerDescription(@Nonnull String serverDescription)
serverDescription
- server descriptionpublic void setSecure()
public void setOperatorInformation(@Nonnull String operatorInformation)
operatorInformation
- operator informationpublic void setIdleTime(long idleTime)
idleTime
- idle timepublic void setSignOnTime(long signOnTime)
signOnTime
- sign on timeCopyright © 2013–2019 Kitteh. All rights reserved.