public static enum RuntimeLimitEnforcer.Operation extends Enum<RuntimeLimitEnforcer.Operation>
Enum Constant and Description |
---|
BLOCK_URIS
Blocks each URI with an -5002 (blocked by custom processor) fetch
status code.
|
PAUSE
Pauses the crawl.
|
TERMINATE
Terminates the job.
|
Modifier and Type | Method and Description |
---|---|
static RuntimeLimitEnforcer.Operation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RuntimeLimitEnforcer.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RuntimeLimitEnforcer.Operation PAUSE
public static final RuntimeLimitEnforcer.Operation TERMINATE
public static final RuntimeLimitEnforcer.Operation BLOCK_URIS
public static RuntimeLimitEnforcer.Operation[] values()
for (RuntimeLimitEnforcer.Operation c : RuntimeLimitEnforcer.Operation.values()) System.out.println(c);
public static RuntimeLimitEnforcer.Operation valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2003-2014 Internet Archive. All Rights Reserved.