public static class AgentAssignmentFilter.Item
extends java.lang.Object
Constructor and Description |
---|
Item(java.lang.String name,
java.lang.String hostType)
Creates a new filter item.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHardware() |
java.lang.String |
getHostType() |
java.lang.String |
getIpAddress() |
java.lang.String |
getLicenseCategory()
Deprecated.
the license check has been removed in version 12.2 and higher
|
java.lang.String |
getName() |
java.lang.String |
getRole() |
java.lang.String |
getSoftware() |
java.lang.String |
getSoftwareVersion() |
java.lang.String |
getVersion() |
boolean |
isNot()
Returns the value of the "NOT" column.
|
void |
setHardware(java.lang.String hardware)
Sets the value of the hardware field (e.g., system type, number of processors, processor type).
|
void |
setHostType(java.lang.String hostType)
Sets the type of this Agent.
|
void |
setIpAddress(java.lang.String ipAddress)
Sets the Agent's TCP/IP address.
|
void |
setLicenseCategory(java.lang.String licenseCategory)
Deprecated.
the license check has been removed in version 12.2 and higher
|
void |
setName(java.lang.String name)
Sets the name of the Agent or filter for several Agents.
|
void |
setNot(boolean not)
Set the value to
true if you want to use the filter settings of this line to exclude Agents (instead of selecting them). |
void |
setRole(java.lang.String role)
Selects the Agent role, this must be a value defined in UC_EX_HOST_ROLE.
|
void |
setSoftware(java.lang.String software)
Sets the value of the software field.
|
void |
setSoftwareVersion(java.lang.String softwareVersion)
Sets the version of the software.
|
void |
setVersion(java.lang.String version)
Sets the Agent version including hotfix level.
|
public Item(java.lang.String name, java.lang.String hostType)
name
- NamehostType
- Host typepublic java.lang.String getName()
public void setName(java.lang.String name)
name
- Agent name, max 32 characterspublic java.lang.String getHostType()
public void setHostType(java.lang.String hostType)
hostType
- Type of the Agent, max 8 characterspublic java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- Version of the Agent, wildcards * and ? are allowed.public java.lang.String getHardware()
public void setHardware(java.lang.String hardware)
hardware
- Computer hardware information, max 32 characterspublic java.lang.String getSoftware()
public void setSoftware(java.lang.String software)
software
- Computer's OS, max 32 characterspublic java.lang.String getSoftwareVersion()
public void setSoftwareVersion(java.lang.String softwareVersion)
softwareVersion
- OS version, max 32 characterspublic java.lang.String getRole()
public void setRole(java.lang.String role)
role
- Role of the Agentpublic java.lang.String getIpAddress()
public void setIpAddress(java.lang.String ipAddress)
ipAddress
- IP Address, max 64 characters@Deprecated public java.lang.String getLicenseCategory()
@Deprecated public void setLicenseCategory(java.lang.String licenseCategory)
licenseCategory
- License category, max 32 characterspublic boolean isNot()
public void setNot(boolean not)
true
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.not
- true if this selection should be excluded.