Package com.uc4.api.objects
Class AgentAssignmentFilter.Item
java.lang.Object
com.uc4.api.objects.AgentAssignmentFilter.Item
- Enclosing class:
- AgentAssignmentFilter
This class represents a row in the filter table.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.the license check has been removed in version 12.2 and highergetName()
getRole()
boolean
isNot()
Returns the value of the "NOT" column.void
setHardware
(String hardware) Sets the value of the hardware field (e.g., system type, number of processors, processor type).void
setHostType
(String hostType) Sets the type of this Agent.void
setIpAddress
(String ipAddress) Sets the Agent's TCP/IP address.void
setLicenseCategory
(String licenseCategory) Deprecated.the license check has been removed in version 12.2 and highervoid
Sets the name of the Agent or filter for several Agents.void
setNot
(boolean not) Set the value totrue
if you want to use the filter settings of this line to exclude Agents (instead of selecting them).void
Selects the Agent role, this must be a value defined in UC_EX_HOST_ROLE.void
setSoftware
(String software) Sets the value of the software field.void
setSoftwareVersion
(String softwareVersion) Sets the version of the software.void
setVersion
(String version) Sets the Agent version including hotfix level.
-
Constructor Details
-
Item
Creates a new filter item.- Parameters:
name
- NamehostType
- Host type
-
-
Method Details
-
getName
- Returns:
- Name of the Agent or filter for several Agents
-
setName
Sets the name of the Agent or filter for several Agents. Wildcards are allowed.- Parameters:
name
- Agent name, max 32 characters
-
getHostType
- Returns:
- Type of Agent
-
setHostType
Sets the type of this Agent.- Parameters:
hostType
- Type of the Agent, max 8 characters
-
getVersion
- Returns:
- Agent version including hotfix level
-
setVersion
Sets the Agent version including hotfix level.- Parameters:
version
- Version of the Agent, wildcards * and ? are allowed.
-
getHardware
- Returns:
- Computer hardware information (e.g., system type, number of processors, processor type)
-
setHardware
Sets the value of the hardware field (e.g., system type, number of processors, processor type).- Parameters:
hardware
- Computer hardware information, max 32 characters
-
getSoftware
- Returns:
- Computer's OS
-
setSoftware
Sets the value of the software field.- Parameters:
software
- Computer's OS, max 32 characters
-
getSoftwareVersion
- Returns:
- Software Version
-
setSoftwareVersion
Sets the version of the software.- Parameters:
softwareVersion
- OS version, max 32 characters
-
getRole
- Returns:
- Agent role
-
setRole
Selects the Agent role, this must be a value defined in UC_EX_HOST_ROLE.- Parameters:
role
- Role of the Agent
-
getIpAddress
- Returns:
- Agent's TCP/IP address
-
setIpAddress
Sets the Agent's TCP/IP address.- Parameters:
ipAddress
- IP Address, max 64 characters
-
getLicenseCategory
Deprecated.the license check has been removed in version 12.2 and higherReturns the name of the license category which has been assigned to the Agent.- Returns:
- License category
-
setLicenseCategory
Deprecated.the license check has been removed in version 12.2 and higherSets the name of the license category which has been assigned to the Agent.- Parameters:
licenseCategory
- License category, max 32 characters
-
isNot
public boolean isNot()Returns the value of the "NOT" column.- Returns:
- true if this selection should be excluded.
-
setNot
public void setNot(boolean not) Set the value totrue
if you want to use the filter settings of this line to exclude Agents (instead of selecting them). Example: You want to assign all Windows Agents except for WIN01. First create a line in which you filter all Windows Agents. Then insert a second line in which you select the Agent WIN01 and activate the checkbox in the column Not.- Parameters:
not
- true if this selection should be excluded.
-