Class ParticipantSpec
java.lang.Object
be.theking90000.mumble.controller.spaces.ParticipantSpec
Complete desired state of a participant.
Updates replace this value atomically. In particular, changing spaceKey() expresses
placement without a separate move operation.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder for an immutable participant spec. -
Method Summary
Modifier and TypeMethodDescriptionstatic ParticipantSpec.BuilderCreates a builder with the required placement and display name.Returns the desired published display name.booleaninthashCode()booleanReturns whether the server should prevent this participant from hearing voice.booleanReturns whether the server should prevent this participant from speaking.spaceKey()Returns the desired semantic voice space.
-
Method Details
-
builder
Creates a builder with the required placement and display name.- Parameters:
spaceKey- desired semantic voice spacedisplayName- non-blank name to publish for the participant- Returns:
- a new builder with both mute flags disabled
- Throws:
NullPointerException- ifspaceKeyisnull
-
spaceKey
Returns the desired semantic voice space.- Returns:
- desired space key
-
displayName
Returns the desired published display name.- Returns:
- non-blank display name
-
serverMute
public boolean serverMute()Returns whether the server should prevent this participant from speaking.- Returns:
- desired server-mute state
-
serverDeaf
public boolean serverDeaf()Returns whether the server should prevent this participant from hearing voice.- Returns:
- desired server-deaf state
-
equals
-
hashCode
public int hashCode()
-