Package com.qfs.snl.dtos
Class RegisteredAgentDescriptionDto
java.lang.Object
com.qfs.snl.dtos.AgentDescriptionDto
com.qfs.snl.dtos.RegisteredAgentDescriptionDto
- All Implemented Interfaces:
IAgentDescription,IRegisteredAgentDescription,Serializable
public class RegisteredAgentDescriptionDto
extends AgentDescriptionDto
implements IRegisteredAgentDescription
Data transfer object for
IRegisteredAgentDescription.- Author:
- ActiveViam
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor.RegisteredAgentDescriptionDto(int id, String agentName, String agentType, AgentConnectionDetailsDto connectionDetails, List<String> sites) Constructor.RegisteredAgentDescriptionDto(int id, String agentName, String agentType, String agentUrl, String liveUrl, List<String> sites) Constructor. -
Method Summary
Methods inherited from class com.qfs.snl.dtos.AgentDescriptionDto
getAgentName, getAgentType, getConnectionDetails, getSites, setAgentConnectionDetails, setAgentName, setAgentType, setConnectionDetails, setSitesMethods inherited from interface com.qfs.snl.agent.IAgentDescription
getAgentName, getAgentType, getConnectionDetails, getSites
-
Constructor Details
-
RegisteredAgentDescriptionDto
public RegisteredAgentDescriptionDto()Empty constructor. -
RegisteredAgentDescriptionDto
public RegisteredAgentDescriptionDto(int id, String agentName, String agentType, AgentConnectionDetailsDto connectionDetails, List<String> sites) Constructor.- Parameters:
id- the id of the agent within the ActiveMonitor serveragentName- the name of the agentagentType- the type of the agentconnectionDetails- theconnection detailsabout the agentsites- the list of sites
-
RegisteredAgentDescriptionDto
public RegisteredAgentDescriptionDto(int id, String agentName, String agentType, String agentUrl, String liveUrl, List<String> sites) Constructor.- Parameters:
id- the id of the agent within the ActiveMonitor serveragentName- the name of the agentagentType- the type of the agentagentUrl- the url of the agentliveUrl- the live url to use when querying data on the agentsites- the list of sites
-
-
Method Details
-
getId
public int getId()Description copied from interface:IRegisteredAgentDescriptionGet the id of the agent within the ActiveMonitor server.- Specified by:
getIdin interfaceIRegisteredAgentDescription- Returns:
- the id of the agent within the ActiveMonitor server
-
setId
public void setId(int id) Set the id of the agent within the ActiveMonitor server.- Parameters:
id- the id to set
-
hashCode
public int hashCode()- Overrides:
hashCodein classAgentDescriptionDto
-
equals
- Overrides:
equalsin classAgentDescriptionDto
-
toString
-