public class Bot
extends java.lang.Object
Constructor and Description |
---|
Bot(Brand _brand,
BotFamily _family,
java.lang.String _description,
java.lang.String _version)
This constructor of the Bot object does not specify the url of the bot, initializing it to an empty string.
|
Bot(Brand _brand,
BotFamily _family,
java.lang.String _description,
java.lang.String _version,
java.lang.String _url)
This is the most detailed constructor of the Bot object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getDescription() |
BotFamily |
getFamily() |
java.lang.String |
getUrl() |
Brand |
getVendor() |
java.lang.String |
getVersion() |
int |
hashCode() |
void |
setUrl(java.lang.String u) |
public Bot(Brand _brand, BotFamily _family, java.lang.String _description, java.lang.String _version, java.lang.String _url)
_brand
- The vendor of this bot._family
- The family of this bot._description
- The text description of this bot._version
- The version of this bot._url
- The url describing this bot.public Bot(Brand _brand, BotFamily _family, java.lang.String _description, java.lang.String _version)
_brand
- The vendor of this bot._family
- The family of this bot._description
- The text description of this bot._version
- The version of this bot.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Brand getVendor()
public BotFamily getFamily()
public java.lang.String getDescription()
public java.lang.String getVersion()
public java.lang.String getUrl()
public void setUrl(java.lang.String u)
u
- The URL the bot points at or a url describing the bot.