Class CollectorResponseDTO
- java.lang.Object
-
- org.opennms.netmgt.collection.client.rpc.CollectorResponseDTO
-
- All Implemented Interfaces:
RpcResponse
public class CollectorResponseDTO extends Object implements RpcResponse
-
-
Constructor Summary
Constructors Constructor Description CollectorResponseDTO()
CollectorResponseDTO(Throwable ex)
CollectorResponseDTO(CollectionSet collectionSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
CollectionSet
getCollectionSet()
String
getErrorMessage()
Returns an error message if an error occurred, ornull
otherwise.int
hashCode()
-
-
-
Constructor Detail
-
CollectorResponseDTO
public CollectorResponseDTO()
-
CollectorResponseDTO
public CollectorResponseDTO(CollectionSet collectionSet)
-
CollectorResponseDTO
public CollectorResponseDTO(Throwable ex)
-
-
Method Detail
-
getCollectionSet
public CollectionSet getCollectionSet()
-
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
-
-