Enum Class ServerAudience
- All Implemented Interfaces:
com.xpdustry.distributor.api.audience.Audience,Serializable,Comparable<ServerAudience>,Constable
public enum ServerAudience
extends Enum<ServerAudience>
implements com.xpdustry.distributor.api.audience.Audience
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptioncom.xpdustry.distributor.api.key.KeyContainercom.xpdustry.distributor.api.permission.PermissionContainervoidsendMessage(com.xpdustry.distributor.api.component.Component component) voidsendMessage(com.xpdustry.distributor.api.component.Component component, com.xpdustry.distributor.api.component.Component unformatted, com.xpdustry.distributor.api.audience.Audience sender) voidsendWarning(com.xpdustry.distributor.api.component.Component component) static ServerAudienceReturns the enum constant of this class with the specified name.static ServerAudience[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.xpdustry.distributor.api.audience.Audience
getAudiences, hideHUDText, kick, kick, kick, kick, openURI, sendAnnouncement, sendNotification, showHUDText, showLabel, toStream
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
sendMessage
public void sendMessage(com.xpdustry.distributor.api.component.Component component) - Specified by:
sendMessagein interfacecom.xpdustry.distributor.api.audience.Audience
-
sendMessage
public void sendMessage(com.xpdustry.distributor.api.component.Component component, com.xpdustry.distributor.api.component.Component unformatted, com.xpdustry.distributor.api.audience.Audience sender) - Specified by:
sendMessagein interfacecom.xpdustry.distributor.api.audience.Audience
-
sendWarning
public void sendWarning(com.xpdustry.distributor.api.component.Component component) - Specified by:
sendWarningin interfacecom.xpdustry.distributor.api.audience.Audience
-
getMetadata
public com.xpdustry.distributor.api.key.KeyContainer getMetadata()- Specified by:
getMetadatain interfacecom.xpdustry.distributor.api.audience.Audience
-
getPermissions
public com.xpdustry.distributor.api.permission.PermissionContainer getPermissions()- Specified by:
getPermissionsin interfacecom.xpdustry.distributor.api.audience.Audience
-