|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--hep.lcd.vertexing.zvtop.BasicFitStatus
BasicFitStatus -- status object for fits
Field Summary | |
protected String |
status
|
Fields inherited from interface hep.lcd.vertexing.zvtop.FitStatusInt |
NOT_FITTED, OK, UNKNOWN_ERROR |
Constructor Summary | |
BasicFitStatus()
|
|
BasicFitStatus(FitStatusInt prevStatus)
copy constructor |
|
BasicFitStatus(String status)
|
|
BasicFitStatus(String status,
String message)
|
Method Summary | |
FitStatusInt |
addMessage(String message)
add to text message |
boolean |
equals(FitStatusInt status)
Are the status words equal? |
String |
getMessage()
get the text message |
String |
getStatus()
get the current status |
boolean |
isOK()
Fit status ok? |
FitStatusInt |
setStatus(String status)
set the status |
boolean |
success()
successful fitting? |
String |
toString()
phrase the status into a String |
String |
toStringWithMessage()
phrase the status into a string including the text message |
boolean |
unknownError()
unknown error? |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected String status
Constructor Detail |
public BasicFitStatus()
public BasicFitStatus(String status)
public BasicFitStatus(String status, String message)
public BasicFitStatus(FitStatusInt prevStatus)
Method Detail |
public FitStatusInt setStatus(String status)
setStatus
in interface FitStatusInt
public String getStatus()
getStatus
in interface FitStatusInt
public FitStatusInt addMessage(String message)
addMessage
in interface FitStatusInt
public String getMessage()
getMessage
in interface FitStatusInt
public boolean isOK()
isOK
in interface FitStatus
success()
public boolean success()
success
in interface FitStatusInt
public boolean unknownError()
unknownError
in interface FitStatusInt
public boolean equals(FitStatusInt status)
equals
in interface FitStatusInt
public String toString()
toString
in interface FitStatusInt
toString
in class Object
public String toStringWithMessage()
toStringWithMessage
in interface FitStatusInt
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |