public enum StopScrapingCallType extends java.lang.Enum<StopScrapingCallType>
Enum Constant and Description |
---|
Custom
Some custom reason
|
ExternalFromSession
The stop was because something external to the scrape told it to stop.
|
ExternalService
Some External service told this to stop.
|
ManualStop
The stop was called by clicking the stop button, either in the workbench or the web interface
|
ProxyError
The stop was caused by an error setting up or using proxies
|
RetriesFailed
The stop was called by failing to fix the issue after retrying enough times.
|
Scripted
The stop was called by code in the scrape
|
ScriptExecutionError
An error was thrown while executing a script, which caused the scrape to stop
|
ThreadInterrupted
The stop was because the thread the scrape was running in was interrupted
|
Timeout
The stop was because it had been running too long or something timed out, such as an extractor, and the scrape had been told to stop in those cases
|
Unspecified
Unsure where the stop call came from
|
Modifier and Type | Method and Description |
---|---|
static StopScrapingCallType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StopScrapingCallType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StopScrapingCallType ManualStop
public static final StopScrapingCallType Timeout
public static final StopScrapingCallType ThreadInterrupted
public static final StopScrapingCallType ExternalFromSession
public static final StopScrapingCallType RetriesFailed
public static final StopScrapingCallType ProxyError
public static final StopScrapingCallType ScriptExecutionError
public static final StopScrapingCallType Unspecified
public static final StopScrapingCallType Scripted
public static final StopScrapingCallType ExternalService
public static final StopScrapingCallType Custom
public static StopScrapingCallType[] values()
for (StopScrapingCallType c : StopScrapingCallType.values()) System.out.println(c);
public static StopScrapingCallType 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 null