public enum CrawlerState extends Enum<CrawlerState>
Enum Constant and Description |
---|
NOT_RUNNING
The crawl is not running.
|
RUNNING
The crawl is currently running.
|
STOPPING
The crawl is in the process of stopping, in response to a stop request.
|
Modifier and Type | Method and Description |
---|---|
static CrawlerState |
fromValue(String v) |
String |
toString() |
String |
value() |
static CrawlerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrawlerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrawlerState NOT_RUNNING
public static final CrawlerState STOPPING
public static final CrawlerState RUNNING
public static CrawlerState[] values()
for (CrawlerState c : CrawlerState.values()) System.out.println(c);
public static CrawlerState 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 CrawlerState fromValue(String v)
public String toString()
toString
in class Enum<CrawlerState>
Copyright © 2007, 2013, Oracle and/or its affiliates. All rights reserved.