Package com.uc4.api.objects
Class HostGroupItem
- java.lang.Object
-
- com.uc4.api.objects.HostGroupItem
-
public class HostGroupItem extends java.lang.ObjectThis class represents a single filter entry in HOSTG objects.
-
-
Constructor Summary
Constructors Modifier Constructor Description HostGroupItem(java.lang.String name)Constructs a newHostGroupItem.protectedHostGroupItem(org.w3c.dom.Element row)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetArchive1()java.lang.StringgetArchive2()java.lang.StringgetHardware()java.lang.StringgetName()java.lang.StringgetProductVersion()java.lang.StringgetRole()java.lang.StringgetSoftware()java.lang.StringgetSoftwareVersion()voidsetArchive1(java.lang.String archive1)Sets the first archive key of the host.voidsetArchive2(java.lang.String archive2)Sets the second archive key of the host.voidsetHardware(java.lang.String hardware)Sets the hardware text of the host.voidsetName(java.lang.String name)Sets the name of the host.voidsetProductVersion(java.lang.String version)Sets the filter for the product version of the host.voidsetRole(java.lang.String role)Sets the role of the host.voidsetSoftware(java.lang.String software)Sets the Software filter for the host.voidsetSoftwareVersion(java.lang.String softwareVersion)Sets the software version filter of the host.protected voidstore(org.w3c.dom.Element row)java.lang.StringtoString()
-
-
-
Method Detail
-
getArchive1
public java.lang.String getArchive1()
- Returns:
- Text for the first archive key
-
getArchive2
public java.lang.String getArchive2()
- Returns:
- Text for the second archive key
-
getHardware
public java.lang.String getHardware()
- Returns:
- String describing the hardware of the host
-
getName
public java.lang.String getName()
- Returns:
- Hostname used for this filter
-
getRole
public java.lang.String getRole()
- Returns:
- Name of the role which is assiged to the host
-
getSoftware
public java.lang.String getSoftware()
- Returns:
- Software description of the host
-
getSoftwareVersion
public java.lang.String getSoftwareVersion()
- Returns:
- Software version of the host
-
getProductVersion
public java.lang.String getProductVersion()
- Returns:
- Returns the product version of the Agent
-
setArchive1
public void setArchive1(java.lang.String archive1)
Sets the first archive key of the host. Throws IllegalArgumentException if the parameter archive1 contains more than 512 characters.- Parameters:
archive1- Archive Key
-
setArchive2
public void setArchive2(java.lang.String archive2)
Sets the second archive key of the host. Throws IllegalArgumentException if the parameter archive1 contains more than 60 characters.- Parameters:
archive2- Archive Key
-
setHardware
public void setHardware(java.lang.String hardware)
Sets the hardware text of the host. Throws IllegalArgumentException if the hardware has more than 32 characters.- Parameters:
hardware- Text describing the hardware
-
setName
public void setName(java.lang.String name)
Sets the name of the host. Throws IllegalArgumentException if the name has more than 32 characters.- Parameters:
name- Host name
-
setRole
public void setRole(java.lang.String role)
Sets the role of the host. Throws IllegalArgumentException if the role name has more than 256 characters.- Parameters:
role- Role name
-
setSoftware
public void setSoftware(java.lang.String software)
Sets the Software filter for the host. Throws IllegalArgumentException if the software has more than 32 characters.- Parameters:
software- Software filter
-
setSoftwareVersion
public void setSoftwareVersion(java.lang.String softwareVersion)
Sets the software version filter of the host. Throws IllegalArgumentException if the software version has more than 32 characters.- Parameters:
softwareVersion- Filter for software version
-
setProductVersion
public void setProductVersion(java.lang.String version)
Sets the filter for the product version of the host. Throws IllegalArgumentException if the product version has more than 270 characters.- Parameters:
version- Product version (for example 6.00A701-609)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
store
protected void store(org.w3c.dom.Element row)
-
-