public class Result<T> extends Object
Constructor and Description |
---|
Result(org.joda.time.DateTime time) |
Result(String msg,
StatusResponseType errorStatus) |
Result(String msg,
Throwable cause) |
Result(T result) |
Result(T result,
StatusResponseType statusResponseType) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause() |
T |
getResult() |
Status |
getStatus() |
org.joda.time.DateTime |
getTime() |
boolean |
hasStatusError() |
public Result(String msg, StatusResponseType errorStatus)
public Result(org.joda.time.DateTime time)
public Result(T result)
public Result(T result, StatusResponseType statusResponseType)
public boolean hasStatusError()
public Status getStatus()
public org.joda.time.DateTime getTime()
public T getResult() throws RaException
RaException
public Throwable getCause()
Connector Packaging TECHNICAL 4.3.0-beta-3 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.