public final class DownloadStatus
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static DownloadStatus |
FAILED |
static DownloadStatus |
NO
means that download was not required
|
static DownloadStatus |
SUCCESSFUL |
Modifier and Type | Method and Description |
---|---|
static DownloadStatus |
fromString(java.lang.String status)
Returns the
DownloadStatus corresponding to the given String representation. |
java.lang.String |
toString() |
public static final DownloadStatus NO
public static final DownloadStatus SUCCESSFUL
public static final DownloadStatus FAILED
public static final DownloadStatus fromString(java.lang.String status)
DownloadStatus
corresponding to the given String representation.status
- StringDownloadStatus
corresponding to the given String representation.java.lang.IllegalArgumentException
- if the given String does not correspond to any DownloadStatus
.public java.lang.String toString()
toString
in class java.lang.Object
Copyright ©2007-2020 The Apache Software Foundation, Licensed under Apache License, Version 2.0.