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 DownloadStatusFAILEDstatic DownloadStatusNOmeans that download was not requiredstatic DownloadStatusSUCCESSFUL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DownloadStatusfromString(java.lang.String status)Returns theDownloadStatuscorresponding to the given String representation.java.lang.StringtoString()
-
-
-
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 theDownloadStatuscorresponding to the given String representation.- Parameters:
status- String- Returns:
- the
DownloadStatuscorresponding 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:
toStringin classjava.lang.Object
-
-