f00f.net.irc.martyr.modes.channel
Class GenericChannelMode
java.lang.Object
f00f.net.irc.martyr.modes.GenericMode
f00f.net.irc.martyr.modes.channel.GenericChannelMode
- All Implemented Interfaces:
- Mode
- Direct Known Subclasses:
- AnonChannelMode, GenericChannelMask, InviteOnlyMode, LimitMode, ModeratedMode, NoExtMsgMode, OperMode, PrivateMode, SecretMode, TopicLockMode, VoiceMode
public abstract class GenericChannelMode
- extends GenericMode
A generic channel mode will be recorded in the channel, and there
will be one per channel. Modes that can have multiple copies in
the channel (masks) should subclass GenericChannelMask.
| Nested classes/interfaces inherited from interface f00f.net.irc.martyr.Mode |
Mode.Sign |
|
Method Summary |
boolean |
onePerChannel()
Determines if there can be multiple versions of this mode in
the channel. |
boolean |
recordInChannel()
This mode should be recorded in the list of channel modes. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
GenericChannelMode
public GenericChannelMode()
recordInChannel
public boolean recordInChannel()
- Description copied from interface:
Mode
- This mode should be recorded in the list of channel modes. This
would NOT include such things as operator status, as it is recored
with the Member object.
- Returns:
- True or false of the mode should be recorded in the list of channels
onePerChannel
public boolean onePerChannel()
- Description copied from interface:
Mode
- Determines if there can be multiple versions of this mode in
the channel.
- Returns:
- True or false if only one instance of mode can exist per channel
Copyright © 2000-2007 Ben Damm, Daniel Henninger, et al.