public class LensAPIResult<DATA> extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
areValidStackTracesPresent() |
static <DATA> LensAPIResult<DATA> |
composedOf(String apiVersion,
String id,
DATA data) |
static <DATA> LensAPIResult<DATA> |
composedOf(String apiVersion,
String id,
DATA data,
javax.ws.rs.core.Response.StatusType httpStatusCode) |
static LensAPIResult<NoResultData> |
composedOf(String apiVersion,
String id,
LensErrorTO lensErrorTO,
javax.ws.rs.core.Response.StatusType httpStatusCode) |
DATA |
getData() |
int |
getErrorCode() |
String |
getErrorMessage() |
javax.ws.rs.core.Response.StatusType |
getHttpStatusCode() |
String |
getId() |
LensErrorTO |
getLensErrorTO() |
boolean |
isErrorResult() |
boolean |
isSuccessResult() |
String |
toString() |
public static <DATA> LensAPIResult<DATA> composedOf(String apiVersion, String id, DATA data)
public static <DATA> LensAPIResult<DATA> composedOf(String apiVersion, String id, DATA data, @NonNull javax.ws.rs.core.Response.StatusType httpStatusCode)
public static LensAPIResult<NoResultData> composedOf(String apiVersion, String id, @NonNull LensErrorTO lensErrorTO, @NonNull javax.ws.rs.core.Response.StatusType httpStatusCode)
public boolean areValidStackTracesPresent()
public javax.ws.rs.core.Response.StatusType getHttpStatusCode()
public boolean isSuccessResult()
public boolean isErrorResult()
public int getErrorCode()
public String getErrorMessage()
@Generated(value="lombok") public String toString()
@Generated(value="lombok") public String getId()
@Generated(value="lombok") public DATA getData()
@Generated(value="lombok") public LensErrorTO getLensErrorTO()
Copyright © 2014–2018 Apache Software Foundation. All rights reserved.