Enum Constant and Description |
---|
CRAWLER
A robot used to crawl the web (Google's crawler, Bing's crawler, etc.)
|
FEED_CRAWLER
Feed aggregator (Feedly, ...)
|
HIDDEN_BOT
A robot that hides as a regular browser.
|
NOT_A_BOT
This UserAgentDetectionResult does not depict a bot:
|
ROBOT
A generic robot.
|
SPAMBOT
A spam bot.
|
UNKNOWN
Unknown type of bot
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel() |
boolean |
isNefarious() |
static BotFamily |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BotFamily[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BotFamily ROBOT
public static final BotFamily SPAMBOT
public static final BotFamily HIDDEN_BOT
public static final BotFamily CRAWLER
public static final BotFamily FEED_CRAWLER
public static final BotFamily UNKNOWN
public static final BotFamily NOT_A_BOT
public static BotFamily[] values()
for (BotFamily c : BotFamily.values()) System.out.println(c);
public static BotFamily valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean isNefarious()
public java.lang.String getLabel()