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.Status httpStatusCode) |
static LensAPIResult<NoResultData> |
composedOf(String apiVersion,
String id,
LensErrorTO lensErrorTO,
javax.ws.rs.core.Response.Status httpStatusCode) |
DATA |
getData() |
int |
getErrorCode() |
String |
getErrorMessage() |
javax.ws.rs.core.Response.Status |
getHttpStatusCode() |
String |
getId() |
LensErrorTO |
getLensErrorTO() |
boolean |
isErrorResult() |
boolean |
isSuccessResult() |
String |
toString() |
public static <DATA> LensAPIResult<DATA> composedOf(String apiVersion, String id, @NonNull DATA data)
public static <DATA> LensAPIResult<DATA> composedOf(String apiVersion, String id, @NonNull DATA data, @NonNull javax.ws.rs.core.Response.Status httpStatusCode)
public static LensAPIResult<NoResultData> composedOf(String apiVersion, String id, @NonNull LensErrorTO lensErrorTO, @NonNull javax.ws.rs.core.Response.Status httpStatusCode)
public boolean areValidStackTracesPresent()
public javax.ws.rs.core.Response.Status 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–2015 Apache Software Foundation. All rights reserved.