edu.jhu.tmaj.util.data
Class Status
java.lang.Object
edu.jhu.tmaj.util.data.Status
public final class Status
- extends java.lang.Object
Represents the status of a process, indicating where an error has occured, and if so, what is
the error.
Constructor Summary |
protected |
Status(boolean isError,
java.lang.String errorMessage)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Status
protected Status(boolean isError,
java.lang.String errorMessage)
getOkayStatus
public static Status getOkayStatus()
getErrorStatus
public static Status getErrorStatus(java.lang.String errorMessage)
isOkay
public final boolean isOkay()
isError
public final boolean isError()
getError
public final java.lang.String getError()