Package com.uc4.api.objects
Class AgentAssignmentFilter.Item
- java.lang.Object
-
- com.uc4.api.objects.AgentAssignmentFilter.Item
-
- Enclosing class:
- AgentAssignmentFilter
public static class AgentAssignmentFilter.Item extends java.lang.Object
This class represents a row in the filter table.
-
-
Constructor Summary
Constructors Constructor Description Item(java.lang.String name, java.lang.String hostType)
Creates a new filter item.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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 higherjava.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 highervoid
setName(java.lang.String name)
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
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.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- Name of the Agent or filter for several Agents
-
setName
public void setName(java.lang.String name)
Sets the name of the Agent or filter for several Agents. Wildcards are allowed.- Parameters:
name
- Agent name, max 32 characters
-
getHostType
public java.lang.String getHostType()
- Returns:
- Type of Agent
-
setHostType
public void setHostType(java.lang.String hostType)
Sets the type of this Agent.- Parameters:
hostType
- Type of the Agent, max 8 characters
-
getVersion
public java.lang.String getVersion()
- Returns:
- Agent version including hotfix level
-
setVersion
public void setVersion(java.lang.String version)
Sets the Agent version including hotfix level.- Parameters:
version
- Version of the Agent, wildcards * and ? are allowed.
-
getHardware
public java.lang.String getHardware()
- Returns:
- Computer hardware information (e.g., system type, number of processors, processor type)
-
setHardware
public void setHardware(java.lang.String hardware)
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
public java.lang.String getSoftware()
- Returns:
- Computer's OS
-
setSoftware
public void setSoftware(java.lang.String software)
Sets the value of the software field.- Parameters:
software
- Computer's OS, max 32 characters
-
getSoftwareVersion
public java.lang.String getSoftwareVersion()
- Returns:
- Software Version
-
setSoftwareVersion
public void setSoftwareVersion(java.lang.String softwareVersion)
Sets the version of the software.- Parameters:
softwareVersion
- OS version, max 32 characters
-
getRole
public java.lang.String getRole()
- Returns:
- Agent role
-
setRole
public void setRole(java.lang.String role)
Selects the Agent role, this must be a value defined in UC_EX_HOST_ROLE.- Parameters:
role
- Role of the Agent
-
getIpAddress
public java.lang.String getIpAddress()
- Returns:
- Agent's TCP/IP address
-
setIpAddress
public void setIpAddress(java.lang.String ipAddress)
Sets the Agent's TCP/IP address.- Parameters:
ipAddress
- IP Address, max 64 characters
-
getLicenseCategory
@Deprecated public java.lang.String 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 public void setLicenseCategory(java.lang.String licenseCategory)
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.
-
-