com.zion.jbuddy.bots
Class BotSetPermitModeCall

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

public class BotSetPermitModeCall
extends Object
implements BotCall

Sets a bot's permit mode.


Constructor Summary
BotSetPermitModeCall(String permitMode)
          Creates a set permit mode call.
 
Method Summary
 Object clone()
          Returns an exact copy of this call.
 String getPermitMode()
          Returns the permit mode.
 boolean isGlobal()
          Returns whether all clients are affected.
 void setGlobal(boolean global)
          Sets whether all clients are affected.
 void setPermitMode(String permitMode)
          Sets the permit mode.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BotSetPermitModeCall

public BotSetPermitModeCall(String permitMode)
Creates a set permit mode call.

Parameters:
permitMode - the permit mode
Method Detail

getPermitMode

public String getPermitMode()
Returns the permit mode.


setPermitMode

public void setPermitMode(String permitMode)
Sets the permit mode.

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.