public enum CrawlStopCause extends Enum<CrawlStopCause>
Enum Constant and Description |
---|
ABORTED
The crawl was aborted by the user.
|
COMPLETED
The crawl completed successfully.
|
FAILED
The crawl stopped due to a processing failure.
|
Modifier and Type | Method and Description |
---|---|
static CrawlStopCause |
fromValue(String v) |
String |
toString() |
String |
value() |
static CrawlStopCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrawlStopCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrawlStopCause COMPLETED
public static final CrawlStopCause ABORTED
public static final CrawlStopCause FAILED
public static CrawlStopCause[] values()
for (CrawlStopCause c : CrawlStopCause.values()) System.out.println(c);
public static CrawlStopCause 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 value()
public static CrawlStopCause fromValue(String v)
public String toString()
toString
in class Enum<CrawlStopCause>
Copyright © 2007, 2013, Oracle and/or its affiliates. All rights reserved.