public class ServiceResponse<T> extends Object implements KieServiceResponse<T>
KieServiceResponse.ResponseType| Constructor and Description |
|---|
ServiceResponse() |
ServiceResponse(KieServiceResponse.ResponseType type,
String msg) |
ServiceResponse(KieServiceResponse.ResponseType type,
String msg,
T result) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMsg() |
T |
getResult() |
KieServiceResponse.ResponseType |
getType() |
void |
setMsg(String msg) |
void |
setResult(T result) |
void |
setType(KieServiceResponse.ResponseType type) |
String |
toString() |
public ServiceResponse()
public ServiceResponse(KieServiceResponse.ResponseType type, String msg)
public ServiceResponse(KieServiceResponse.ResponseType type, String msg, T result)
public KieServiceResponse.ResponseType getType()
getType in interface KieServiceResponse<T>public String getMsg()
getMsg in interface KieServiceResponse<T>public void setType(KieServiceResponse.ResponseType type)
public void setMsg(String msg)
public T getResult()
getResult in interface KieServiceResponse<T>public void setResult(T result)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.