Class SysIntf.UpdateResult
java.lang.Object
org.bedework.caldav.server.sysinterface.SysIntf.UpdateResult
- Enclosing interface:
- SysIntf
public static class SysIntf.UpdateResult
extends java.lang.Object
Show the outcome of an update
- Author:
- douglm
-
Constructor Summary
Constructors Constructor Description UpdateResult(java.lang.String reason) -
Method Summary
Modifier and Type Method Description booleangetOk()static SysIntf.UpdateResultgetOkResult()java.lang.StringgetReason()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
UpdateResult
public UpdateResult(java.lang.String reason)- Parameters:
reason- for failure
-
-
Method Details
-
getOkResult
- Returns:
- result indicating OK.
-
getOk
public boolean getOk()- Returns:
- True for an OK update
-
getReason
public java.lang.String getReason()- Returns:
- Non-null if !ok
-