Package thredds.catalog.crawl
Enum CatalogCrawler.Type
- java.lang.Object
-
- java.lang.Enum<CatalogCrawler.Type>
-
- thredds.catalog.crawl.CatalogCrawler.Type
-
- All Implemented Interfaces:
Serializable,Comparable<CatalogCrawler.Type>
- Enclosing class:
- CatalogCrawler
public static enum CatalogCrawler.Type extends Enum<CatalogCrawler.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description allall_directfirst_directrandom_directrandom_direct_middle
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CatalogCrawler.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static CatalogCrawler.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
all
public static final CatalogCrawler.Type all
-
all_direct
public static final CatalogCrawler.Type all_direct
-
first_direct
public static final CatalogCrawler.Type first_direct
-
random_direct
public static final CatalogCrawler.Type random_direct
-
random_direct_middle
public static final CatalogCrawler.Type random_direct_middle
-
-
Method Detail
-
values
public static CatalogCrawler.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CatalogCrawler.Type c : CatalogCrawler.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CatalogCrawler.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-