Package com.uc4.communication.requests
Class AgentList.Filter
java.lang.Object
com.uc4.communication.requests.AgentList.Filter
- Enclosing class:
- AgentList
Filter in the Agent list.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns the agenttype filters.Returns the version filter.Returns the authentication filter of the Agent.Returns the filter for the connection status.Returns the gateway filterReturns the Hardware filter.Deprecated.the license check has been removed in version 12.2 and higherDeprecated.the license check has been removed in version 12.2 and higherReturns the service manager link filter.Returns the MIB filter.Returns the name filter of the Agent.Returns the Net area filter.Returns the platform filter.Returns the RA solution filter.Returns the roles filter.Returns the Software filter.Returns the Software version filter.Returns the TCP/IP address filter.Returns the TLS Agent filtervoid
setAgentTypesFilter
(String... types) Sets the agenttypes filter.void
setAgentVersionFilter
(String agentVersionFilter) Sets a filter for the Agent version.void
setAuthenticatedFilter
(Boolean value) Sets the filter for the authentication of the Agent.void
setConnectedFilter
(Boolean connected) Sets a filter for the connection status.void
setGatewayFilter
(String gateway) Sets filter for gateway filtervoid
setHardwareFilter
(String hardwareFilter) Sets the hardware filter.void
setLicenseCategoryFilter
(String licenseCategoryFilter) Deprecated.the license check has been removed in version 12.2 and highervoid
setLicenseClassFilter
(String filter) Deprecated.the license check has been removed in version 12.2 and highervoid
Sets the filter for the service manager link status.void
setMaxRows
(int maxRows) Used to limit the number of returned agents.void
setMibFilter
(String mib) void
setNameFilter
(String nameFilter) Sets the name filter of an Agent.void
setNetAreaFilter
(String netarea) Sets the NetArea filter in which this Agent runs.void
setPlatformFilter
(String platformFilter) Sets the platform filter.void
setRASolutionNameFilter
(String raSolutionName) Sets the RA solution filter.void
setRolesFilter
(String roles) Returns the roles filter of the Agent.void
setSoftwareFilter
(String softwareFilter) Software filter.void
setSoftwareVersionFilter
(String softwareVersionFilter) Filter for software version.void
setTcpIPAddressFilter
(String tcpIPAddressFilter) Filter for IP addresses, wildcards * and ? can be used.void
setTlsFilter
(Boolean isTls) Sets filter if this Agent is a TLS Agentvoid
Returns the ZDU version filter.
-
Constructor Details
-
Filter
public Filter()
-
-
Method Details
-
setConnectedFilter
Sets a filter for the connection status.- Parameters:
connected
- true if running agents should be returned, false for Agents that are not connected or null to disable this filter.
-
getNameFilter
Returns the name filter of the Agent.- Returns:
- Name filter or null if disabled
-
getAgentVersionFilter
Returns the version filter.- Returns:
- Version with wildcards or null if this filter is disabled
-
getHardwareFilter
Returns the Hardware filter.- Returns:
- Hardware filter with wildcards or null if this filter is disabled.
-
getSoftwareFilter
Returns the Software filter.- Returns:
- Software filter with wildcards or null if this filter is disabled.
-
getSoftwareVersionFilter
Returns the Software version filter.- Returns:
- Software version with wildcards or null if this filter is disabled
-
getTcpIPAddressFilter
Returns the TCP/IP address filter.- Returns:
- Filter with wildcards or null if disabled
-
getLicenseClassFilter
Deprecated.the license check has been removed in version 12.2 and higherReturns the license class filter.- Returns:
- Filter or null if disabled
-
getLicenseCategoryFilter
Deprecated.the license check has been removed in version 12.2 and higherReturns the license category filter.- Returns:
- Filter with wildcards or null if disabled
-
getRolesFilter
Returns the roles filter.- Returns:
- Roles filter with wildcards or null if this filter is disabled
-
getAuthenticatedFilter
Returns the authentication filter of the Agent.- Returns:
- true for authenticated Agents only, false for agents that are not authenticated or null if this filter is disabled.
-
getLinkedToServiceManagerFilter
Returns the service manager link filter.- Returns:
- true for Agents that are linked with the service manager, false for Agents that are not linked or null if there is no filter on the service manger link status.
-
getNetAreaFilter
Returns the Net area filter.- Returns:
- Net area filter with wildcards or null if not set
-
getMibFilter
Returns the MIB filter.- Returns:
- filter for the MIB column of null if not set
-
getConnectedFilter
Returns the filter for the connection status.- Returns:
- true if only connected agents should be returned, false for disconnected agents or null if there should be no filter on the connection status.
-
zduVersionFilter
Returns the ZDU version filter.- Returns:
- filter for the ZDU column of null if not set
-
setMaxRows
public void setMaxRows(int maxRows) Used to limit the number of returned agents. The value is ignored if it is larger than AGENT_LIST_LIMIT in UC_SYSTEM_SETTINGS.- Parameters:
maxRows
- Maximum number of rows, value between 1 and AGENT_LIST_LIMIT.- Throws:
IllegalArgumentException
- if the value is negative or zero or larger than the allowed maximum AGENT_LIST_LIMIT: 20000
-
setNameFilter
Sets the name filter of an Agent.- Parameters:
nameFilter
- of the Agent with wildcards or null to disable this filter
-
setAgentVersionFilter
Sets a filter for the Agent version.- Parameters:
agentVersionFilter
- Filter for the version of an Agent, null to disable this filter
-
setPlatformFilter
Sets the platform filter.- Parameters:
platformFilter
- Variant filter with wildcards, null if there should be no filter
-
getPlatformFilter
Returns the platform filter.- Returns:
- Variant filter with wildcards, null if there is no filter
-
setHardwareFilter
Sets the hardware filter. It can contain wildcard characters.- Parameters:
hardwareFilter
- Filter for the hardware info of the Agent, use null to disable this filter.
-
setSoftwareFilter
Software filter.- Parameters:
softwareFilter
- Filter for the software info of an Agent, use null to disable the filter.
-
setSoftwareVersionFilter
Filter for software version.- Parameters:
softwareVersionFilter
- software version of an Agent, return null to disable this filter.
-
setTcpIPAddressFilter
Filter for IP addresses, wildcards * and ? can be used.- Parameters:
tcpIPAddressFilter
- the network address filter of an Agent.
-
setLicenseClassFilter
Deprecated.the license check has been removed in version 12.2 and higherReturns the license class filter.- Parameters:
filter
- license class of an Agent, can be null to disable the filter.
-
setLicenseCategoryFilter
Deprecated.the license check has been removed in version 12.2 and higherReturns the filter for license category. Wildcard characters ? and * can be used.- Parameters:
licenseCategoryFilter
- License category of the Agent, can be null to disable the filter
-
setRolesFilter
Returns the roles filter of the Agent. Wildcard characters ? and * can be used.- Parameters:
roles
- Filter for roles, can be null to disable the filter.
-
setAuthenticatedFilter
Sets the filter for the authentication of the Agent.- Parameters:
value
- if the agent is authenticated, false if not. Use null to disable the filter.
-
setLinkedToServiceManagerFilter
Sets the filter for the service manager link status.- Parameters:
value
- true if the Agent is linked to Service Manager, false if not. Use null to disable this filter
-
setNetAreaFilter
Sets the NetArea filter in which this Agent runs.- Parameters:
netarea
- can be null to disable this filter
-
setMibFilter
- Parameters:
mib
- MIB filter or null to disable the filter
-
setzduVersionFilter
- Parameters:
zdu
- ZDU version filter or null to disable the filter
-
getAgentTypesFilter
Returns the agenttype filters.- Returns:
- an array of agenttype filters or null if there is no filter.
-
setAgentTypesFilter
Sets the agenttypes filter.- Parameters:
types
- the agenttypes or null
-
getRASolutionNameFilter
Returns the RA solution filter.- Returns:
- the RA solution name or null if there is no filter.
-
setRASolutionNameFilter
Sets the RA solution filter.- Parameters:
raSolutionName
- the RA solution name or null
-
setTlsFilter
Sets filter if this Agent is a TLS Agent- Parameters:
isTls
- true for TLS Agent
-
getTlsFilter
Returns the TLS Agent filter- Returns:
- true if this is a TLS Agent
-
setGatewayFilter
Sets filter for gateway filter- Parameters:
gateway
- name of gateway
-
getGatewayFilter
Returns the gateway filter- Returns:
- name of gateway
-