Package org.javacord.core.event.server
Class ServerChangeServerFeaturesEventImpl
- java.lang.Object
-
- org.javacord.core.event.EventImpl
-
- org.javacord.core.event.server.ServerEventImpl
-
- org.javacord.core.event.server.ServerChangeServerFeaturesEventImpl
-
- All Implemented Interfaces:
Event
,ServerChangeServerFeaturesEvent
,ServerEvent
public class ServerChangeServerFeaturesEventImpl extends ServerEventImpl implements ServerChangeServerFeaturesEvent
The implementation ofServerChangeServerFeaturesEvent
.
-
-
Constructor Summary
Constructors Constructor Description ServerChangeServerFeaturesEventImpl(ServerImpl server, Collection<ServerFeature> newServerFeature, Collection<ServerFeature> oldServerFeature)
Creates a new server feature change event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<ServerFeature>
getNewServerFeatures()
Collection<ServerFeature>
getOldServerFeatures()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
Methods inherited from class org.javacord.core.event.server.ServerEventImpl
getServer
-
-
-
-
Constructor Detail
-
ServerChangeServerFeaturesEventImpl
public ServerChangeServerFeaturesEventImpl(ServerImpl server, Collection<ServerFeature> newServerFeature, Collection<ServerFeature> oldServerFeature)
Creates a new server feature change event.- Parameters:
server
- The server of the event.newServerFeature
- The new server feature of the server.oldServerFeature
- The old server feature of the server.
-
-
Method Detail
-
getOldServerFeatures
public Collection<ServerFeature> getOldServerFeatures()
- Specified by:
getOldServerFeatures
in interfaceServerChangeServerFeaturesEvent
-
getNewServerFeatures
public Collection<ServerFeature> getNewServerFeatures()
- Specified by:
getNewServerFeatures
in interfaceServerChangeServerFeaturesEvent
-
-