public class ModeStatus<ModeType extends Mode> extends Object implements ClientLinked
| Constructor and Description |
|---|
ModeStatus(boolean setting,
ModeType mode)
Creates a status without a parameter.
|
ModeStatus(boolean setting,
ModeType mode,
String parameter)
Creates a status.
|
| Modifier and Type | Method and Description |
|---|---|
Client |
getClient()
Gets the Client to which this belongs.
|
ModeType |
getMode()
Gets the
Mode describing this mode status. |
Optional<String> |
getParameter()
Gets the parameter for the mode status, if applicable.
|
boolean |
isSetting()
Gets if this mode is being set.
|
String |
toString() |
public ModeStatus(boolean setting,
@Nonnull
ModeType mode)
setting - true for setting mode, false for removingmode - mode to set@Nonnull public Client getClient()
ClientLinkedgetClient in interface ClientLinked@Nonnull public ModeType getMode()
Mode describing this mode status.@Nonnull public Optional<String> getParameter()
public boolean isSetting()
Copyright © 2013–2019 Kitteh. All rights reserved.