public static enum ExitNotifier.ExitStatus extends Enum<ExitNotifier.ExitStatus>
| Enum Constant and Description |
|---|
ERROR
The crawler quite because of an error.
|
EXHAUSTED
The crawl is done.
|
MAX_STATES
The maximum number of states is reached as defined in
CrawljaxConfiguration#getMaximumStates(). |
MAX_TIME
The maximum crawl time is reached as defined in
CrawljaxConfiguration#getMaximumRuntime(). |
STOPPED
When
CrawljaxRunner.stop() has been called. |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ExitNotifier.ExitStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExitNotifier.ExitStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExitNotifier.ExitStatus MAX_STATES
CrawljaxConfiguration#getMaximumStates().public static final ExitNotifier.ExitStatus MAX_TIME
CrawljaxConfiguration#getMaximumRuntime().public static final ExitNotifier.ExitStatus EXHAUSTED
public static final ExitNotifier.ExitStatus ERROR
public static final ExitNotifier.ExitStatus STOPPED
CrawljaxRunner.stop() has been called.public static ExitNotifier.ExitStatus[] values()
for (ExitNotifier.ExitStatus c : ExitNotifier.ExitStatus.values()) System.out.println(c);
public static ExitNotifier.ExitStatus 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 nullpublic String toString()
toString in class Enum<ExitNotifier.ExitStatus>Copyright © 2007-2013. All Rights Reserved.