|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.zion.jbuddy.bots.BotSetStatusCall
public class BotSetStatusCall
Sets a bot's status.
Constructor Summary | |
---|---|
BotSetStatusCall(String status)
Creates a set status call. |
Method Summary | |
---|---|
Object |
clone()
Returns an exact copy of this call. |
String |
getMessage()
Returns the status message. |
String |
getStatus()
Returns the status type. |
boolean |
isGlobal()
Returns whether all clients are affected. |
void |
setGlobal(boolean global)
Sets whether all clients are affected. |
void |
setMessage(String message)
Sets the status message. |
void |
setStatus(String status)
Sets the status type. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BotSetStatusCall(String status)
status
- the statusMethod Detail |
---|
public String getStatus()
public void setStatus(String status)
This value can contain content variables.
public String getMessage()
public void setMessage(String message)
This value can contain content variables.
public boolean isGlobal()
public void setGlobal(boolean global)
If true
, the permit mode is set on all the bot's clients.
Otherwise, the permit mode is only set on the client associated with this call.
The default value is false
.
public Object clone()
clone
in class Object
public String toString()
toString
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |