|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BotsMode>
com.esri.gpt.framework.robots.BotsMode
public enum BotsMode
RobotsTxt mode.
Controls how robots.txt should be respected during harvesting.
inherit
uses "bot.robotstxt.enabled" parameter from gpt.xml configuration file.
Enum Constant Summary | |
---|---|
always
force to use robots.txt if available robots.txt available, regardless default configuration |
|
inherit
inherit from gpt.xml => bot.robotstxt.enabled |
|
never
disable to use robots.txt if available robots.txt available, regardless default configuration |
Method Summary | |
---|---|
static BotsMode |
getDefault()
Gets default value. |
static BotsMode |
parseMode(String mode)
Parse string into mode. |
static BotsMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BotsMode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final BotsMode inherit
public static final BotsMode always
public static final BotsMode never
Method Detail |
---|
public static BotsMode[] values()
for (BotsMode c : BotsMode.values()) System.out.println(c);
public static BotsMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static BotsMode getDefault()
RobotsTxtMode#inherit
public static BotsMode parseMode(String mode)
RobotsTxtMode#inherit
.
mode
- mode as text
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |