public class ChatChannel
extends java.lang.Object
Constructor and Description |
---|
ChatChannel(ChannelBuilder cb)
For internal use only.
|
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete the channel
|
java.lang.String |
getFormat() |
java.util.List<java.lang.String> |
getJson() |
java.lang.String |
getName() |
java.lang.String |
getPermission() |
java.lang.String |
getPrefix() |
boolean |
isAlwaysAppear() |
void |
setAlwaysAppear(boolean alwaysAppear) |
void |
setFormat(java.lang.String format) |
void |
setJson(java.util.List<java.lang.String> json) |
void |
setName(java.lang.String name)
Auto calls the update() method.
|
void |
setPermission(java.lang.String permission) |
void |
setPrefix(java.lang.String prefix) |
public ChatChannel(ChannelBuilder cb)
cb
- public java.lang.String getName()
public void setName(java.lang.String name)
Note: If this channel is the default channel then you will need to change the default channel name manually
name
- public java.lang.String getPrefix()
public void setPrefix(java.lang.String prefix)
public java.lang.String getPermission()
public void setPermission(java.lang.String permission)
public boolean isAlwaysAppear()
public void setAlwaysAppear(boolean alwaysAppear)
public java.util.List<java.lang.String> getJson()
public void setJson(java.util.List<java.lang.String> json)
public void delete()
public java.lang.String getFormat()
public void setFormat(java.lang.String format)