Class AgentDeviceLoginResult
- java.lang.Object
-
- com.novomind.ecom.api.iagent.result.AgentDeviceLoginResult
-
public final class AgentDeviceLoginResult extends java.lang.Object
AnAgentDeviceLoginResult
provides all information about the successful agent login on an agent device. AnAgentDeviceLoginResult
is provided by theAgentDeviceControlConnector.loginAgent(com.novomind.ecom.api.iagent.request.AgentDeviceLoginRequest)
method.- Since:
- 11.27
-
-
Constructor Summary
Constructors Constructor Description AgentDeviceLoginResult(AgentDevice agentDevice)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentDevice
getAgentDevice()
java.lang.String
getAttribute(java.lang.String key)
Returns the value to which the specified key is mapped, ornull
if no mapping for the key exists.java.util.Set<java.lang.String>
getAttributes()
The method returns all available attributesboolean
hasOutgoingCallCapability()
AgentDeviceLoginResult
setAttribute(java.lang.String key, java.lang.String value)
The method stores key-value pairs that will be available and accessible to other plugins.AgentDeviceLoginResult
setOutgoingCallCapability(boolean outgoingCallCapability)
-
-
-
Constructor Detail
-
AgentDeviceLoginResult
public AgentDeviceLoginResult(AgentDevice agentDevice)
-
-
Method Detail
-
getAgentDevice
public AgentDevice getAgentDevice()
- Returns:
- the
AgentDevice
- Since:
- 11.27
-
hasOutgoingCallCapability
public boolean hasOutgoingCallCapability()
- Returns:
- true if the plugin is able to start outgoing calls, otherwise false
- Since:
- 11.27
-
setOutgoingCallCapability
public AgentDeviceLoginResult setOutgoingCallCapability(boolean outgoingCallCapability)
- Parameters:
outgoingCallCapability
- the capability of starting outgoing calls- Returns:
- the
AgentDeviceLoginResult
- Since:
- 11.27
-
setAttribute
public AgentDeviceLoginResult setAttribute(java.lang.String key, java.lang.String value)
The method stores key-value pairs that will be available and accessible to other plugins.- Parameters:
key
- the attribute keyvalue
- the attribute value- Returns:
- the
AgentDeviceLoginResult
- Since:
- 11.27
-
getAttribute
public java.lang.String getAttribute(java.lang.String key)
Returns the value to which the specified key is mapped, ornull
if no mapping for the key exists.- Parameters:
key
- the attribute key- Returns:
- the value of the attribute or
null
if no mapping for the key exists - Since:
- 11.27
-
getAttributes
public java.util.Set<java.lang.String> getAttributes()
The method returns all available attributes- Returns:
- the set of attributes
- Since:
- 11.27
-
-