com.zion.jbuddy.bots
Class BotSetStatusCall

java.lang.Object
  extended by com.zion.jbuddy.bots.BotSetStatusCall
All Implemented Interfaces:
BotCall

public class BotSetStatusCall
extends Object
implements BotCall

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

BotSetStatusCall

public BotSetStatusCall(String status)
Creates a set status call.

Parameters:
status - the status
Method Detail

getStatus

public String getStatus()
Returns the status type.


setStatus

public void setStatus(String status)
Sets the status type.

This value can contain content variables.


getMessage

public String getMessage()
Returns the status message.


setMessage

public void setMessage(String message)
Sets the status message.

This value can contain content variables.


isGlobal

public boolean isGlobal()
Returns whether all clients are affected.


setGlobal

public void setGlobal(boolean global)
Sets whether all clients are affected.

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.


clone

public Object clone()
Returns an exact copy of this call.

Overrides:
clone in class Object

toString

public String toString()
Overrides:
toString in class Object


JBuddy is a trademark of Zion Software, LLC in the US and other countries.
Copyright 2000-2008 Zion Software, LLC All Rights Reserved.