Package org.apache.ivy.core.report
Class DownloadStatus
- java.lang.Object
-
- org.apache.ivy.core.report.DownloadStatus
-
public final class DownloadStatus extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static DownloadStatus
FAILED
static DownloadStatus
NO
means that download was not requiredstatic DownloadStatus
SUCCESSFUL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DownloadStatus
fromString(java.lang.String status)
Returns theDownloadStatus
corresponding to the given String representation.java.lang.String
toString()
-
-
-
Field Detail
-
NO
public static final DownloadStatus NO
means that download was not required
-
SUCCESSFUL
public static final DownloadStatus SUCCESSFUL
-
FAILED
public static final DownloadStatus FAILED
-
-
Method Detail
-
fromString
public static final DownloadStatus fromString(java.lang.String status)
Returns theDownloadStatus
corresponding to the given String representation.- Parameters:
status
- String- Returns:
- the
DownloadStatus
corresponding to the given String representation. - Throws:
java.lang.IllegalArgumentException
- if the given String does not correspond to anyDownloadStatus
.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-