Class DnsLookupResponseDTO
- java.lang.Object
-
- org.opennms.netmgt.provision.dns.client.rpc.DnsLookupResponseDTO
-
- All Implemented Interfaces:
RpcResponse
public class DnsLookupResponseDTO extends Object implements RpcResponse
-
-
Constructor Summary
Constructors Constructor Description DnsLookupResponseDTO()
DnsLookupResponseDTO(Throwable ex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getErrorMessage()
Returns an error message if an error occurred, ornull
otherwise.String
getHostResponse()
int
hashCode()
void
setHostResponse(String hostResponse)
-
-
-
Constructor Detail
-
DnsLookupResponseDTO
public DnsLookupResponseDTO()
-
DnsLookupResponseDTO
public DnsLookupResponseDTO(Throwable ex)
-
-
Method Detail
-
getHostResponse
public String getHostResponse()
-
setHostResponse
public void setHostResponse(String hostResponse)
-
getErrorMessage
public String getErrorMessage()
Description copied from interface:RpcResponse
Returns an error message if an error occurred, ornull
otherwise.- Specified by:
getErrorMessage
in interfaceRpcResponse
- Returns:
- an error message if an error occurred, or
null
otherwise
-
-