Package org.javacord.core.entity.channel
Class UnknownRegularServerChannelImpl
- java.lang.Object
-
- org.javacord.core.entity.channel.ServerChannelImpl
-
- org.javacord.core.entity.channel.RegularServerChannelImpl
-
- org.javacord.core.entity.channel.UnknownRegularServerChannelImpl
-
- All Implemented Interfaces:
java.lang.Comparable<RegularServerChannel>
,java.util.Formattable
,Channel
,ChannelSpecialization
,RegularServerChannel
,ServerChannel
,UnknownRegularServerChannel
,Deletable
,DiscordEntity
,Mentionable
,Nameable
,Updatable
,UpdatableFromCache
,ChannelAttachableListenerManager
,ServerChannelAttachableListenerManager
,Specializable<ChannelSpecialization>
,InternalChannelAttachableListenerManager
,InternalServerChannelAttachableListenerManager
public class UnknownRegularServerChannelImpl extends RegularServerChannelImpl implements UnknownRegularServerChannel
The implementation ofUnknownRegularServerChannel
.
-
-
Field Summary
-
Fields inherited from class org.javacord.core.entity.channel.RegularServerChannelImpl
COMPARE_BY_RAW_POSITION
-
-
Constructor Summary
Constructors Constructor Description UnknownRegularServerChannelImpl(DiscordApiImpl api, ServerImpl server, com.fasterxml.jackson.databind.JsonNode data)
Creates a new unknown regular server channel object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getMentionTag()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class org.javacord.core.entity.channel.RegularServerChannelImpl
getEffectiveOverwrittenPermissions, getInternalOverwrittenRolePermissions, getInternalOverwrittenUserPermissions, getOverwrittenPermissions, getOverwrittenRolePermissions, getOverwrittenUserPermissions, getRawPosition, setRawPosition
-
Methods inherited from class org.javacord.core.entity.channel.ServerChannelImpl
delete, getApi, getId, getInvites, getName, getServer, getType, setName
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.javacord.api.entity.channel.Channel
asCategorizable, asChannelCategory, asPrivateChannel, asRegularServerChannel, asServerChannel, asServerForumChannel, asServerStageVoiceChannel, asServerTextChannel, asServerThreadChannel, asServerVoiceChannel, asTextableRegularServerChannel, asTextChannel, asVoiceChannel, canSee, canYouSee, getType
-
Methods inherited from interface org.javacord.api.entity.Deletable
delete, delete, deleteAfter, deleteAfter, deleteAfter, deleteAfter, getApi
-
Methods inherited from interface org.javacord.api.entity.DiscordEntity
getApi, getCreationTimestamp, getId, getIdAsString
-
Methods inherited from interface org.javacord.core.listener.channel.InternalChannelAttachableListenerManager
addChannelAttachableListener, getChannelAttachableListeners, removeChannelAttachableListener, removeListener
-
Methods inherited from interface org.javacord.core.listener.channel.server.InternalServerChannelAttachableListenerManager
addServerChannelAttachableListener, addServerChannelChangeNameListener, addServerChannelChangeOverwrittenPermissionsListener, addServerChannelChangePositionListener, addServerChannelDeleteListener, addVoiceStateUpdateListener, getServerChannelAttachableListeners, getServerChannelChangeNameListeners, getServerChannelChangeOverwrittenPermissionsListeners, getServerChannelChangePositionListeners, getServerChannelDeleteListeners, getVoiceStateUpdateListeners, removeListener, removeServerChannelAttachableListener
-
Methods inherited from interface org.javacord.api.entity.channel.RegularServerChannel
canCreateInstantInvite, canYouCreateInstantInvite, compareTo, createUpdater, getCurrentCachedInstance, getEffectiveAllowedPermissions, getEffectiveDeniedPermissions, getEffectiveOverwrittenPermissions, getEffectivePermissions, getLatestInstance, getOverwrittenPermissions, getOverwrittenPermissions, getOverwrittenRolePermissions, getOverwrittenUserPermissions, getPosition, getRawPosition, hasAnyPermission, hasPermission, hasPermissions, updateRawPosition
-
Methods inherited from interface org.javacord.api.entity.channel.ServerChannel
createInviteBuilder, getInvites, getServer, updateName
-
Methods inherited from interface org.javacord.api.util.Specializable
as
-
-
-
-
Constructor Detail
-
UnknownRegularServerChannelImpl
public UnknownRegularServerChannelImpl(DiscordApiImpl api, ServerImpl server, com.fasterxml.jackson.databind.JsonNode data)
Creates a new unknown regular server channel object.- Parameters:
api
- The discord api instance.server
- The server of the channel.data
- The json data of the channel.
-
-
Method Detail
-
getMentionTag
public java.lang.String getMentionTag()
- Specified by:
getMentionTag
in interfaceMentionable
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classServerChannelImpl
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classServerChannelImpl
-
toString
public java.lang.String toString()
- Overrides:
toString
in classServerChannelImpl
-
-