public enum DownloadErrorOption extends Enum<DownloadErrorOption> implements PolicyOption
| Enum Constant and Description | 
|---|
| ALWAYS | 
| IGNORE | 
| NOT_PRESENT | 
| QUEUE | 
| STOP | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getId() | 
| PolicyOption | ofId(String id) | 
| String | toString() | 
| static DownloadErrorOption | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static DownloadErrorOption[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final DownloadErrorOption STOP
public static final DownloadErrorOption QUEUE
public static final DownloadErrorOption IGNORE
public static final DownloadErrorOption ALWAYS
public static final DownloadErrorOption NOT_PRESENT
public static DownloadErrorOption[] values()
for (DownloadErrorOption c : DownloadErrorOption.values()) System.out.println(c);
public static DownloadErrorOption 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 getId()
getId in interface PolicyOptionpublic PolicyOption ofId(String id)
ofId in interface PolicyOptionpublic String toString()
toString in class Enum<DownloadErrorOption>Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.