Package org.netxms.client
Class NXCObjectModificationData
- java.lang.Object
-
- org.netxms.client.NXCObjectModificationData
-
public class NXCObjectModificationData extends Object
This class is used to hold data for NXCSession.modifyObject()
-
-
Field Summary
Fields Modifier and Type Field Description static intACLstatic intACTIVATION_EVENTstatic intACTIVE_STATUSstatic intAGENT_AUTHstatic intAGENT_CACHE_MODEstatic intAGENT_COMPRESSION_MODEstatic intAGENT_PORTstatic intAGENT_PROXYstatic intAUTOBIND_FILTERstatic intAUTOBIND_FLAGSstatic intCHASSIS_IDstatic intCHASSIS_PLACEMENTstatic intCLUSTER_NETWORKSstatic intCLUSTER_RESOURCESstatic intCOLUMN_COUNTstatic intCONNECTION_ROUTINGstatic intCONTROLLER_IDstatic intCUSTOM_ATTRIBUTESstatic intDASHBOARD_ELEMENTSstatic intDASHBOARD_LISTstatic intDCI_LISTstatic intDEACTIVATION_EVENTstatic intDESCRIPTIONstatic intDEVICE_ADDRESSstatic intDEVICE_CLASSstatic intDISCOVERY_RADIUSstatic intDRILL_DOWN_OBJECT_IDstatic intETHERNET_IP_PORTstatic intETHERNET_IP_PROXYstatic intEXPECTED_STATEstatic intFILTERstatic intGEOLOCATIONstatic intHEIGHTstatic intICMP_POLL_MODEstatic intICMP_POLL_TARGETSstatic intICMP_PROXYstatic intIFXTABLE_POLICYstatic intIMAGEstatic intINACTIVE_STATUSstatic intIP_ADDRESSstatic intIP_PORTstatic intIP_PROTOCOLstatic intLINK_COLORstatic intMAC_ADDRESSstatic intMAP_BACKGROUNDstatic intMAP_CONTENTstatic intMAP_LAYOUTstatic intMAPOBJ_DISP_MODEstatic intMETA_TYPEstatic intNAMEstatic intOBJECT_FLAGSstatic intPASSIVE_ELEMENTSstatic intPEER_GATEWAYstatic intPOLLER_NODEstatic intPOSTAL_ADDRESSstatic intPRIMARY_IPstatic intPRIMARY_NAMEstatic intRACK_NUMB_SCHEMEstatic intRACK_PLACEMENTstatic intREPORT_DEFINITIONstatic intREQUESTstatic intREQUIRED_POLLSstatic intRESPONSEstatic intRESPONSIBLE_USERSstatic intSCRIPTstatic intSEED_OBJECTSstatic intSENSOR_PROXYstatic intSERIAL_NUMBERstatic intSERVICE_TYPEstatic intSNMP_AUTHstatic intSNMP_PORTstatic intSNMP_PORT_LISTstatic intSNMP_PROXYstatic intSNMP_VERSIONstatic intSOURCE_OBJECTstatic intSSH_LOGINstatic intSSH_PASSWORDstatic intSSH_PROXYstatic intSTATUS_CALCULATIONstatic intTRUSTED_NODESstatic intURL_LISTstatic intVENDORstatic intVERSIONstatic intVPN_NETWORKSstatic intXML_CONFIGstatic intZONE_PROXY_LIST
-
Constructor Summary
Constructors Constructor Description NXCObjectModificationData(long objectId)Constructor for creating modification data for given object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessListElement[]getACL()intgetActivationEvent()intgetActiveStatus()intgetAgentAuthMethod()AgentCacheModegetAgentCacheMode()Get agent cache modeAgentCompressionModegetAgentCompressionMode()Get agent compression modeintgetAgentPort()longgetAgentProxy()StringgetAgentSecret()StringgetAutoBindFilter()longgetChassisId()StringgetChassisPlacement()intgetColumnCount()intgetConnectionRouting()longgetControllerId()Map<String,CustomAttribute>getCustomAttributes()Collection<DashboardElement>getDashboardElements()Long[]getDashboards()List<ConditionDciInfo>getDciList()intgetDeactivationEvent()StringgetDescription()StringgetDeviceAddress()intgetDeviceClass()intgetDiscoveryRadius()longgetDrillDownObjectId()intgetEtherNetIPPort()longgetEtherNetIPProxy()intgetExpectedState()StringgetFilter()ObjectStatusgetFixedPropagatedStatus()UUIDgetFrontRackImage()org.netxms.base.GeoLocationgetGeolocation()intgetHeight()longgetIcmpProxy()IcmpStatCollectionModegetIcmpStatCollectionMode()Get ICMP statistic collection modeList<InetAddress>getIcmpTargets()Get additional ICMP poll targetsintgetIfXTablePolicy()UUIDgetImage()intgetInactiveStatus()org.netxms.base.InetAddressExgetIpAddress()intgetIpPort()intgetIpProtocol()intgetLinkColor()List<org.netxms.base.InetAddressEx>getLocalNetworks()org.netxms.base.MacAddressgetMacAddress()UUIDgetMapBackground()intgetMapBackgroundColor()org.netxms.base.GeoLocationgetMapBackgroundLocation()intgetMapBackgroundZoom()Collection<NetworkMapElement>getMapElements()MapLayoutAlgorithmgetMapLayout()Collection<NetworkMapLink>getMapLinks()MapObjectDisplayModegetMapObjectDisplayMode()StringgetMetaType()StringgetName()List<org.netxms.base.InetAddressEx>getNetworkList()intgetObjectFlags()Get object flagsintgetObjectFlagsMask()Get object flags masklonggetObjectId()List<PassiveRackElement>getPassiveElements()longgetPeerGatewayId()longgetPhysicalContainerObjectId()longgetPollerNode()org.netxms.base.PostalAddressgetPostalAddress()InetAddressgetPrimaryIpAddress()StringgetPrimaryName()shortgetRackHeight()RackOrientationgetRackOrientation()Get rack orientationshortgetRackPosition()UUIDgetRearRackImage()List<org.netxms.base.InetAddressEx>getRemoteNetworks()StringgetReportDefinition()StringgetRequest()intgetRequiredPolls()List<ClusterResource>getResourceList()StringgetResponse()List<Long>getResponsibleUsers()StringgetScript()Long[]getSeedObjectIds()longgetSensorProxy()StringgetSerialNumber()intgetServiceType()intgetSnmpAuthMethod()StringgetSnmpAuthName()StringgetSnmpAuthPassword()intgetSnmpPort()List<String>getSnmpPorts()Get the snmp port listintgetSnmpPrivMethod()StringgetSnmpPrivPassword()longgetSnmpProxy()SnmpVersiongetSnmpVersion()longgetSourceObject()StringgetSshLogin()StringgetSshPassword()longgetSshProxy()intgetStatusCalculationMethod()intgetStatusPropagationMethod()intgetStatusShift()intgetStatusSingleThreshold()int[]getStatusThresholds()ObjectStatus[]getStatusTransformation()Long[]getTrustedNodes()List<ObjectUrl>getUrls()StringgetVendor()intgetVersion()StringgetXmlConfig()Long[]getZoneProxies()booleanisAutoBindEnabled()booleanisAutoUnbindEnabled()booleanisFieldSet(int field)Check if given field is set for modification.booleanisInheritAccessRights()booleanisRackNumberingTopBottom()voidsetACL(AccessListElement[] acl)voidsetActivationEvent(int activationEvent)voidsetActiveStatus(int activeStatus)voidsetAgentAuthMethod(int agentAuthMethod)voidsetAgentCacheMode(AgentCacheMode agentCacheMode)Set agent cache modevoidsetAgentCompressionMode(AgentCompressionMode agentCompressionMode)Set agent compression modevoidsetAgentPort(int agentPort)voidsetAgentProxy(long agentProxy)voidsetAgentSecret(String agentSecret)voidsetAutoBindFilter(String autoBindFilter)voidsetAutoBindFlags(boolean autoApply, boolean autoUnbind)Set abuto bind/remove optionsvoidsetChassisId(long chassisId)voidsetChassisPlacement(String placementConfig)Set chassis placement informationvoidsetColumnCount(int columnCount)voidsetConnectionRouting(int connectionRouting)voidsetControllerId(long controllerId)voidsetCustomAttributes(Map<String,CustomAttribute> customAttributes)voidsetDashboardElements(Collection<DashboardElement> dashboardElements)voidsetDashboards(Long[] dashboards)voidsetDciList(List<ConditionDciInfo> dciList)voidsetDeactivationEvent(int deactivationEvent)voidsetDescription(String description)voidsetDeviceAddress(String deviceAddress)voidsetDeviceClass(int deviceClass)voidsetDiscoveryRadius(int discoveryRadius)voidsetDrillDownObjectId(long drillDownObjectId)voidsetEtherNetIPPort(int etherNetIPPort)voidsetEtherNetIPProxy(long etherNetIPProxy)voidsetExpectedState(int expectedState)voidsetFilter(String filter)voidsetFixedPropagatedStatus(ObjectStatus fixedPropagatedStatus)voidsetGeolocation(org.netxms.base.GeoLocation geolocation)voidsetHeight(int height)voidsetIcmpProxy(long icmpProxy)voidsetIcmpStatCollectionMode(IcmpStatCollectionMode mode)Set ICMP statistic collection modevoidsetIcmpTargets(Collection<InetAddress> icmpTargets)Set additional ICMP poll targetsvoidsetIfXTablePolicy(int ifXTablePolicy)voidsetImage(UUID image)voidsetInactiveStatus(int inactiveStatus)voidsetInheritAccessRights(boolean inheritAccessRights)voidsetIpAddress(org.netxms.base.InetAddressEx ipAddress)voidsetIpPort(int ipPort)voidsetIpProtocol(int ipProtocol)voidsetLinkColor(int linkColor)voidsetMacAddress(org.netxms.base.MacAddress macAddress)voidsetMapBackground(UUID mapBackground, org.netxms.base.GeoLocation mapBackgroundLocation, int mapBackgroundZoom, int mapBackgroundColor)voidsetMapContent(Collection<NetworkMapElement> elements, Collection<NetworkMapLink> links)Set map contentsvoidsetMapLayout(MapLayoutAlgorithm mapLayout)voidsetMapObjectDisplayMode(MapObjectDisplayMode mapObjectDisplayMode)voidsetMetaType(String metaType)voidsetName(String name)voidsetNetworkList(List<org.netxms.base.InetAddressEx> networkList)voidsetObjectFlags(int objectFlags)Set object flagsvoidsetObjectFlags(int objectFlags, int objectFlagsMask)Set selected object flags.voidsetObjectId(long objectId)voidsetPassiveElements(List<PassiveRackElement> passiveElements)Set passive rack elements configurationvoidsetPeerGatewayId(long peerGatewayId)voidsetPhysicalContainer(long physicalContainerObjectId)Set physical container for object Will be set together with CHASSIS_PLACEMENT or RACK_PLACEMENT so no need to set fieldsvoidsetPollerNode(long pollerNode)voidsetPostalAddress(org.netxms.base.PostalAddress postalAddress)voidsetPrimaryIpAddress(InetAddress primaryIpAddress)voidsetPrimaryName(String primaryName)voidsetRackNumberingTopBottom(boolean rackNumberingTopBottom)voidsetRackPlacement(UUID rackImageFront, UUID rackImageRear, short rackPosition, short rackHeight, RackOrientation rackOrientation)Set rack placement datavoidsetReportDefinition(File file)Set report definition from file.voidsetReportDefinition(String reportDefinition)voidsetRequest(String request)voidsetRequiredPolls(int requiredPolls)voidsetResourceList(List<ClusterResource> resourceList)voidsetResponse(String response)voidsetResponsibleUsers(List<Long> responsibleUsers)Set responsible usersvoidsetScript(String script)voidsetSeedObjectIds(List<Long> seedObjectIds)voidsetSensorProxy(long proxyNode)voidsetSerialNumber(String serialNumber)voidsetServiceType(int serviceType)voidsetSnmpAuthMethod(int snmpAuthMethod)voidsetSnmpAuthName(String snmpAuthName)voidsetSnmpAuthPassword(String snmpAuthPassword)voidsetSnmpPort(int snmpPort)voidsetSnmpPorts(List<String> snmpPorts)Update zone snmp port listvoidsetSnmpPrivMethod(int snmpPrivMethod)voidsetSnmpPrivPassword(String snmpPrivPassword)voidsetSnmpProxy(long snmpProxy)voidsetSnmpVersion(SnmpVersion snmpVersion)voidsetSourceObject(long sourceObject)voidsetSshLogin(String sshLogin)voidsetSshPassword(String sshPassword)voidsetSshProxy(long sshProxy)voidsetStatusCalculationMethod(int statusCalculationMethod)voidsetStatusPropagationMethod(int statusPropagationMethod)voidsetStatusShift(int statusShift)voidsetStatusSingleThreshold(int statusSingleThreshold)voidsetStatusThresholds(int[] statusThresholds)voidsetStatusTransformation(ObjectStatus[] statusTransformation)voidsetTrustedNodes(Long[] trustedNodes)voidsetUrls(List<ObjectUrl> urls)Set URL listvoidsetVendor(String vendor)voidsetVersion(int version)voidsetVpnNetworks(List<org.netxms.base.InetAddressEx> localNetworks, List<org.netxms.base.InetAddressEx> remoteNetworks)voidsetXmlConfig(String xmlConfig)voidsetZoneProxies(Long[] zoneProxies)
-
-
-
Field Detail
-
NAME
public static final int NAME
- See Also:
- Constant Field Values
-
ACL
public static final int ACL
- See Also:
- Constant Field Values
-
CUSTOM_ATTRIBUTES
public static final int CUSTOM_ATTRIBUTES
- See Also:
- Constant Field Values
-
AUTOBIND_FILTER
public static final int AUTOBIND_FILTER
- See Also:
- Constant Field Values
-
LINK_COLOR
public static final int LINK_COLOR
- See Also:
- Constant Field Values
-
AUTOBIND_FLAGS
public static final int AUTOBIND_FLAGS
- See Also:
- Constant Field Values
-
VERSION
public static final int VERSION
- See Also:
- Constant Field Values
-
DESCRIPTION
public static final int DESCRIPTION
- See Also:
- Constant Field Values
-
AGENT_PORT
public static final int AGENT_PORT
- See Also:
- Constant Field Values
-
AGENT_AUTH
public static final int AGENT_AUTH
- See Also:
- Constant Field Values
-
SNMP_VERSION
public static final int SNMP_VERSION
- See Also:
- Constant Field Values
-
SNMP_AUTH
public static final int SNMP_AUTH
- See Also:
- Constant Field Values
-
AGENT_PROXY
public static final int AGENT_PROXY
- See Also:
- Constant Field Values
-
SNMP_PROXY
public static final int SNMP_PROXY
- See Also:
- Constant Field Values
-
TRUSTED_NODES
public static final int TRUSTED_NODES
- See Also:
- Constant Field Values
-
GEOLOCATION
public static final int GEOLOCATION
- See Also:
- Constant Field Values
-
PRIMARY_IP
public static final int PRIMARY_IP
- See Also:
- Constant Field Values
-
SNMP_PORT
public static final int SNMP_PORT
- See Also:
- Constant Field Values
-
MAP_LAYOUT
public static final int MAP_LAYOUT
- See Also:
- Constant Field Values
-
MAP_BACKGROUND
public static final int MAP_BACKGROUND
- See Also:
- Constant Field Values
-
MAP_CONTENT
public static final int MAP_CONTENT
- See Also:
- Constant Field Values
-
IMAGE
public static final int IMAGE
- See Also:
- Constant Field Values
-
ICMP_PROXY
public static final int ICMP_PROXY
- See Also:
- Constant Field Values
-
COLUMN_COUNT
public static final int COLUMN_COUNT
- See Also:
- Constant Field Values
-
DASHBOARD_ELEMENTS
public static final int DASHBOARD_ELEMENTS
- See Also:
- Constant Field Values
-
SCRIPT
public static final int SCRIPT
- See Also:
- Constant Field Values
-
ACTIVATION_EVENT
public static final int ACTIVATION_EVENT
- See Also:
- Constant Field Values
-
DEACTIVATION_EVENT
public static final int DEACTIVATION_EVENT
- See Also:
- Constant Field Values
-
SOURCE_OBJECT
public static final int SOURCE_OBJECT
- See Also:
- Constant Field Values
-
ACTIVE_STATUS
public static final int ACTIVE_STATUS
- See Also:
- Constant Field Values
-
INACTIVE_STATUS
public static final int INACTIVE_STATUS
- See Also:
- Constant Field Values
-
DCI_LIST
public static final int DCI_LIST
- See Also:
- Constant Field Values
-
DRILL_DOWN_OBJECT_ID
public static final int DRILL_DOWN_OBJECT_ID
- See Also:
- Constant Field Values
-
IP_ADDRESS
public static final int IP_ADDRESS
- See Also:
- Constant Field Values
-
IP_PROTOCOL
public static final int IP_PROTOCOL
- See Also:
- Constant Field Values
-
IP_PORT
public static final int IP_PORT
- See Also:
- Constant Field Values
-
SERVICE_TYPE
public static final int SERVICE_TYPE
- See Also:
- Constant Field Values
-
POLLER_NODE
public static final int POLLER_NODE
- See Also:
- Constant Field Values
-
REQUIRED_POLLS
public static final int REQUIRED_POLLS
- See Also:
- Constant Field Values
-
REQUEST
public static final int REQUEST
- See Also:
- Constant Field Values
-
RESPONSE
public static final int RESPONSE
- See Also:
- Constant Field Values
-
OBJECT_FLAGS
public static final int OBJECT_FLAGS
- See Also:
- Constant Field Values
-
IFXTABLE_POLICY
public static final int IFXTABLE_POLICY
- See Also:
- Constant Field Values
-
REPORT_DEFINITION
public static final int REPORT_DEFINITION
- See Also:
- Constant Field Values
-
CLUSTER_RESOURCES
public static final int CLUSTER_RESOURCES
- See Also:
- Constant Field Values
-
PRIMARY_NAME
public static final int PRIMARY_NAME
- See Also:
- Constant Field Values
-
STATUS_CALCULATION
public static final int STATUS_CALCULATION
- See Also:
- Constant Field Values
-
CLUSTER_NETWORKS
public static final int CLUSTER_NETWORKS
- See Also:
- Constant Field Values
-
EXPECTED_STATE
public static final int EXPECTED_STATE
- See Also:
- Constant Field Values
-
CONNECTION_ROUTING
public static final int CONNECTION_ROUTING
- See Also:
- Constant Field Values
-
DISCOVERY_RADIUS
public static final int DISCOVERY_RADIUS
- See Also:
- Constant Field Values
-
HEIGHT
public static final int HEIGHT
- See Also:
- Constant Field Values
-
FILTER
public static final int FILTER
- See Also:
- Constant Field Values
-
PEER_GATEWAY
public static final int PEER_GATEWAY
- See Also:
- Constant Field Values
-
VPN_NETWORKS
public static final int VPN_NETWORKS
- See Also:
- Constant Field Values
-
POSTAL_ADDRESS
public static final int POSTAL_ADDRESS
- See Also:
- Constant Field Values
-
AGENT_CACHE_MODE
public static final int AGENT_CACHE_MODE
- See Also:
- Constant Field Values
-
MAPOBJ_DISP_MODE
public static final int MAPOBJ_DISP_MODE
- See Also:
- Constant Field Values
-
RACK_PLACEMENT
public static final int RACK_PLACEMENT
- See Also:
- Constant Field Values
-
DASHBOARD_LIST
public static final int DASHBOARD_LIST
- See Also:
- Constant Field Values
-
RACK_NUMB_SCHEME
public static final int RACK_NUMB_SCHEME
- See Also:
- Constant Field Values
-
CONTROLLER_ID
public static final int CONTROLLER_ID
- See Also:
- Constant Field Values
-
CHASSIS_ID
public static final int CHASSIS_ID
- See Also:
- Constant Field Values
-
SSH_PROXY
public static final int SSH_PROXY
- See Also:
- Constant Field Values
-
SSH_LOGIN
public static final int SSH_LOGIN
- See Also:
- Constant Field Values
-
SSH_PASSWORD
public static final int SSH_PASSWORD
- See Also:
- Constant Field Values
-
ZONE_PROXY_LIST
public static final int ZONE_PROXY_LIST
- See Also:
- Constant Field Values
-
AGENT_COMPRESSION_MODE
public static final int AGENT_COMPRESSION_MODE
- See Also:
- Constant Field Values
-
URL_LIST
public static final int URL_LIST
- See Also:
- Constant Field Values
-
SEED_OBJECTS
public static final int SEED_OBJECTS
- See Also:
- Constant Field Values
-
MAC_ADDRESS
public static final int MAC_ADDRESS
- See Also:
- Constant Field Values
-
DEVICE_CLASS
public static final int DEVICE_CLASS
- See Also:
- Constant Field Values
-
VENDOR
public static final int VENDOR
- See Also:
- Constant Field Values
-
SERIAL_NUMBER
public static final int SERIAL_NUMBER
- See Also:
- Constant Field Values
-
DEVICE_ADDRESS
public static final int DEVICE_ADDRESS
- See Also:
- Constant Field Values
-
META_TYPE
public static final int META_TYPE
- See Also:
- Constant Field Values
-
SENSOR_PROXY
public static final int SENSOR_PROXY
- See Also:
- Constant Field Values
-
XML_CONFIG
public static final int XML_CONFIG
- See Also:
- Constant Field Values
-
SNMP_PORT_LIST
public static final int SNMP_PORT_LIST
- See Also:
- Constant Field Values
-
PASSIVE_ELEMENTS
public static final int PASSIVE_ELEMENTS
- See Also:
- Constant Field Values
-
RESPONSIBLE_USERS
public static final int RESPONSIBLE_USERS
- See Also:
- Constant Field Values
-
ICMP_POLL_MODE
public static final int ICMP_POLL_MODE
- See Also:
- Constant Field Values
-
ICMP_POLL_TARGETS
public static final int ICMP_POLL_TARGETS
- See Also:
- Constant Field Values
-
CHASSIS_PLACEMENT
public static final int CHASSIS_PLACEMENT
- See Also:
- Constant Field Values
-
ETHERNET_IP_PORT
public static final int ETHERNET_IP_PORT
- See Also:
- Constant Field Values
-
ETHERNET_IP_PROXY
public static final int ETHERNET_IP_PROXY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getObjectId
public long getObjectId()
- Returns:
- the objectId
-
setObjectId
public void setObjectId(long objectId)
- Parameters:
objectId- the objectId to set
-
getName
public String getName()
- Returns:
- the name
-
setName
public void setName(String name)
- Parameters:
name- the name to set
-
isFieldSet
public boolean isFieldSet(int field)
Check if given field is set for modification.- Parameters:
field- field code- Returns:
- true if given field is set
-
getACL
public AccessListElement[] getACL()
- Returns:
- the acl
-
setACL
public void setACL(AccessListElement[] acl)
- Parameters:
acl- the acl to set
-
isInheritAccessRights
public boolean isInheritAccessRights()
- Returns:
- the inheritAccessRights
-
setInheritAccessRights
public void setInheritAccessRights(boolean inheritAccessRights)
- Parameters:
inheritAccessRights- the inheritAccessRights to set
-
getCustomAttributes
public Map<String,CustomAttribute> getCustomAttributes()
- Returns:
- the customAttributes
-
setCustomAttributes
public void setCustomAttributes(Map<String,CustomAttribute> customAttributes)
- Parameters:
customAttributes- the customAttributes to set
-
getAutoBindFilter
public String getAutoBindFilter()
- Returns:
- the autoApplyFilter
-
setAutoBindFilter
public void setAutoBindFilter(String autoBindFilter)
- Parameters:
autoBindFilter- the autoApplyFilter to set
-
getVersion
public int getVersion()
- Returns:
- the version
-
setVersion
public void setVersion(int version)
- Parameters:
version- the version to set
-
getDescription
public String getDescription()
- Returns:
- the description
-
setDescription
public void setDescription(String description)
- Parameters:
description- the description to set
-
getAgentPort
public int getAgentPort()
-
setAgentPort
public void setAgentPort(int agentPort)
-
getAgentAuthMethod
public int getAgentAuthMethod()
- Returns:
- the agentAuthMethod
-
setAgentAuthMethod
public void setAgentAuthMethod(int agentAuthMethod)
- Parameters:
agentAuthMethod- the agentAuthMethod to set
-
getAgentSecret
public String getAgentSecret()
- Returns:
- the agentSecret
-
setAgentSecret
public void setAgentSecret(String agentSecret)
- Parameters:
agentSecret- the agentSecret to set
-
getAgentProxy
public long getAgentProxy()
- Returns:
- the agentProxy
-
setAgentProxy
public void setAgentProxy(long agentProxy)
- Parameters:
agentProxy- the agentProxy to set
-
getSnmpVersion
public SnmpVersion getSnmpVersion()
- Returns:
- the snmpVersion
-
setSnmpVersion
public void setSnmpVersion(SnmpVersion snmpVersion)
- Parameters:
snmpVersion- the snmpVersion to set
-
getSnmpAuthMethod
public int getSnmpAuthMethod()
- Returns:
- the snmpAuthMethod
-
setSnmpAuthMethod
public void setSnmpAuthMethod(int snmpAuthMethod)
- Parameters:
snmpAuthMethod- the snmpAuthMethod to set
-
getSnmpPrivMethod
public int getSnmpPrivMethod()
- Returns:
- the snmpPrivMethod
-
setSnmpPrivMethod
public void setSnmpPrivMethod(int snmpPrivMethod)
- Parameters:
snmpPrivMethod- the snmpPrivMethod to set
-
getSnmpAuthName
public String getSnmpAuthName()
- Returns:
- the snmpAuthName
-
setSnmpAuthName
public void setSnmpAuthName(String snmpAuthName)
- Parameters:
snmpAuthName- the snmpAuthName to set
-
getSnmpAuthPassword
public String getSnmpAuthPassword()
- Returns:
- the snmpAuthPassword
-
setSnmpAuthPassword
public void setSnmpAuthPassword(String snmpAuthPassword)
- Parameters:
snmpAuthPassword- the snmpAuthPassword to set
-
getSnmpPrivPassword
public String getSnmpPrivPassword()
- Returns:
- the snmpPrivPassword
-
setSnmpPrivPassword
public void setSnmpPrivPassword(String snmpPrivPassword)
- Parameters:
snmpPrivPassword- the snmpPrivPassword to set
-
getSnmpProxy
public long getSnmpProxy()
- Returns:
- the snmpProxy
-
setSnmpProxy
public void setSnmpProxy(long snmpProxy)
- Parameters:
snmpProxy- the snmpProxy to set
-
getIcmpProxy
public long getIcmpProxy()
- Returns:
- the icmpProxy
-
setIcmpProxy
public void setIcmpProxy(long icmpProxy)
- Parameters:
icmpProxy- the icmpProxy to set
-
getTrustedNodes
public Long[] getTrustedNodes()
- Returns:
- the trustedNodes
-
setTrustedNodes
public void setTrustedNodes(Long[] trustedNodes)
- Parameters:
trustedNodes- the trustedNodes to set
-
getGeolocation
public org.netxms.base.GeoLocation getGeolocation()
- Returns:
- the geolocation
-
setGeolocation
public void setGeolocation(org.netxms.base.GeoLocation geolocation)
- Parameters:
geolocation- the geolocation to set
-
getPrimaryIpAddress
public InetAddress getPrimaryIpAddress()
- Returns:
- the primaryIpAddress
-
setPrimaryIpAddress
public void setPrimaryIpAddress(InetAddress primaryIpAddress)
- Parameters:
primaryIpAddress- the primaryIpAddress to set
-
getSnmpPort
public int getSnmpPort()
- Returns:
- the snmpPort
-
setSnmpPort
public void setSnmpPort(int snmpPort)
- Parameters:
snmpPort- the snmpPort to set
-
getMapLayout
public MapLayoutAlgorithm getMapLayout()
- Returns:
- the mapLayout
-
setMapLayout
public void setMapLayout(MapLayoutAlgorithm mapLayout)
- Parameters:
mapLayout- the mapLayout to set
-
getMapBackground
public UUID getMapBackground()
- Returns:
- the mapBackground
-
setMapBackground
public void setMapBackground(UUID mapBackground, org.netxms.base.GeoLocation mapBackgroundLocation, int mapBackgroundZoom, int mapBackgroundColor)
- Parameters:
mapBackground- The mapBackground to setmapBackgroundLocation- The mapBackgroundLocation to setmapBackgroundZoom- The mapBackgroundZoom level to setmapBackgroundColor- The mapBackgroundColor to set
-
getMapElements
public Collection<NetworkMapElement> getMapElements()
- Returns:
- the mapElements
-
getMapLinks
public Collection<NetworkMapLink> getMapLinks()
- Returns:
- the mapLinks
-
setMapContent
public void setMapContent(Collection<NetworkMapElement> elements, Collection<NetworkMapLink> links)
Set map contents- Parameters:
elements- Network map elementslinks- Network map links
-
getImage
public UUID getImage()
- Returns:
- the image
-
setImage
public void setImage(UUID image)
- Parameters:
image- the image to set
-
getColumnCount
public int getColumnCount()
- Returns:
- the columnCount
-
setColumnCount
public void setColumnCount(int columnCount)
- Parameters:
columnCount- the columnCount to set
-
getDashboardElements
public Collection<DashboardElement> getDashboardElements()
- Returns:
- the dashboardElements
-
setDashboardElements
public void setDashboardElements(Collection<DashboardElement> dashboardElements)
- Parameters:
dashboardElements- the dashboardElements to set
-
getScript
public String getScript()
- Returns:
- the script
-
setScript
public void setScript(String script)
- Parameters:
script- the script to set
-
getActivationEvent
public int getActivationEvent()
- Returns:
- the activationEvent
-
setActivationEvent
public void setActivationEvent(int activationEvent)
- Parameters:
activationEvent- the activationEvent to set
-
getDeactivationEvent
public int getDeactivationEvent()
- Returns:
- the deactivationEvent
-
setDeactivationEvent
public void setDeactivationEvent(int deactivationEvent)
- Parameters:
deactivationEvent- the deactivationEvent to set
-
getSourceObject
public long getSourceObject()
- Returns:
- the sourceObject
-
setSourceObject
public void setSourceObject(long sourceObject)
- Parameters:
sourceObject- the sourceObject to set
-
getActiveStatus
public int getActiveStatus()
- Returns:
- the activeStatus
-
setActiveStatus
public void setActiveStatus(int activeStatus)
- Parameters:
activeStatus- the activeStatus to set
-
getInactiveStatus
public int getInactiveStatus()
- Returns:
- the inactiveStatus
-
setInactiveStatus
public void setInactiveStatus(int inactiveStatus)
- Parameters:
inactiveStatus- the inactiveStatus to set
-
getDciList
public List<ConditionDciInfo> getDciList()
- Returns:
- the dciList
-
setDciList
public void setDciList(List<ConditionDciInfo> dciList)
- Parameters:
dciList- the dciList to set
-
getDrillDownObjectId
public long getDrillDownObjectId()
- Returns:
- the submapId
-
setDrillDownObjectId
public void setDrillDownObjectId(long drillDownObjectId)
- Parameters:
drillDownObjectId- the drillDownObjectId to set
-
getMapBackgroundLocation
public org.netxms.base.GeoLocation getMapBackgroundLocation()
- Returns:
- the mapBackgroundLocation
-
getMapBackgroundZoom
public int getMapBackgroundZoom()
- Returns:
- the mapBackgroundZoom
-
getPollerNode
public long getPollerNode()
- Returns:
- the pollerNode
-
setPollerNode
public void setPollerNode(long pollerNode)
- Parameters:
pollerNode- the pollerNode to set
-
getRequiredPolls
public int getRequiredPolls()
- Returns:
- the requiredPolls
-
setRequiredPolls
public void setRequiredPolls(int requiredPolls)
- Parameters:
requiredPolls- the requiredPolls to set
-
getServiceType
public int getServiceType()
- Returns:
- the serviceType
-
setServiceType
public void setServiceType(int serviceType)
- Parameters:
serviceType- the serviceType to set
-
getIpProtocol
public int getIpProtocol()
- Returns:
- the ipProtocol
-
setIpProtocol
public void setIpProtocol(int ipProtocol)
- Parameters:
ipProtocol- the ipProtocol to set
-
getIpPort
public int getIpPort()
- Returns:
- the ipPort
-
setIpPort
public void setIpPort(int ipPort)
- Parameters:
ipPort- the ipPort to set
-
getIpAddress
public org.netxms.base.InetAddressEx getIpAddress()
- Returns:
- the ipAddress
-
setIpAddress
public void setIpAddress(org.netxms.base.InetAddressEx ipAddress)
- Parameters:
ipAddress- the ipAddress to set
-
getRequest
public String getRequest()
- Returns:
- the request
-
setRequest
public void setRequest(String request)
- Parameters:
request- the request to set
-
getResponse
public String getResponse()
- Returns:
- the response
-
setResponse
public void setResponse(String response)
- Parameters:
response- the response to set
-
getObjectFlags
public int getObjectFlags()
Get object flags- Returns:
- object flags
-
getObjectFlagsMask
public int getObjectFlagsMask()
Get object flags mask- Returns:
- the object flags mask
-
setObjectFlags
public void setObjectFlags(int objectFlags)
Set object flags- Parameters:
objectFlags- Object flags
-
setObjectFlags
public void setObjectFlags(int objectFlags, int objectFlagsMask)Set selected object flags. Only flags with corresponding mask bits set will be changed.- Parameters:
objectFlags- new object flagsobjectFlagsMask- object flag mask
-
getIfXTablePolicy
public int getIfXTablePolicy()
- Returns:
- the ifXTablePolicy
-
setIfXTablePolicy
public void setIfXTablePolicy(int ifXTablePolicy)
- Parameters:
ifXTablePolicy- the ifXTablePolicy to set
-
getReportDefinition
public String getReportDefinition()
- Returns:
- the reportDefinition
-
setReportDefinition
public void setReportDefinition(String reportDefinition)
- Parameters:
reportDefinition- the reportDefinition to set
-
setReportDefinition
public void setReportDefinition(File file) throws IOException, FileNotFoundException
Set report definition from file.- Parameters:
file- file containing report definition- Throws:
IOException- if file I/O error occursFileNotFoundException- if given file does not exist or inaccessible
-
getResourceList
public List<ClusterResource> getResourceList()
- Returns:
- the resourceList
-
setResourceList
public void setResourceList(List<ClusterResource> resourceList)
- Parameters:
resourceList- the resourceList to set
-
getNetworkList
public List<org.netxms.base.InetAddressEx> getNetworkList()
- Returns:
- the networkList
-
setNetworkList
public void setNetworkList(List<org.netxms.base.InetAddressEx> networkList)
- Parameters:
networkList- the networkList to set
-
getPrimaryName
public String getPrimaryName()
- Returns:
- the primaryName
-
setPrimaryName
public void setPrimaryName(String primaryName)
- Parameters:
primaryName- the primaryName to set
-
getStatusCalculationMethod
public int getStatusCalculationMethod()
- Returns:
- the statusCalculationMethod
-
setStatusCalculationMethod
public void setStatusCalculationMethod(int statusCalculationMethod)
- Parameters:
statusCalculationMethod- the statusCalculationMethod to set
-
getStatusPropagationMethod
public int getStatusPropagationMethod()
- Returns:
- the statusPropagationMethod
-
setStatusPropagationMethod
public void setStatusPropagationMethod(int statusPropagationMethod)
- Parameters:
statusPropagationMethod- the statusPropagationMethod to set
-
getFixedPropagatedStatus
public ObjectStatus getFixedPropagatedStatus()
- Returns:
- the fixedPropagatedStatus
-
setFixedPropagatedStatus
public void setFixedPropagatedStatus(ObjectStatus fixedPropagatedStatus)
- Parameters:
fixedPropagatedStatus- the fixedPropagatedStatus to set
-
getStatusShift
public int getStatusShift()
- Returns:
- the statusShift
-
setStatusShift
public void setStatusShift(int statusShift)
- Parameters:
statusShift- the statusShift to set
-
getStatusTransformation
public ObjectStatus[] getStatusTransformation()
- Returns:
- the statusTransformation
-
setStatusTransformation
public void setStatusTransformation(ObjectStatus[] statusTransformation)
- Parameters:
statusTransformation- the statusTransformation to set
-
getStatusSingleThreshold
public int getStatusSingleThreshold()
- Returns:
- the statusSingleThreshold
-
setStatusSingleThreshold
public void setStatusSingleThreshold(int statusSingleThreshold)
- Parameters:
statusSingleThreshold- the statusSingleThreshold to set
-
getStatusThresholds
public int[] getStatusThresholds()
- Returns:
- the statusThresholds
-
setStatusThresholds
public void setStatusThresholds(int[] statusThresholds)
- Parameters:
statusThresholds- the statusThresholds to set
-
getExpectedState
public int getExpectedState()
- Returns:
- the expectedState
-
setExpectedState
public void setExpectedState(int expectedState)
- Parameters:
expectedState- the expectedState to set
-
getLinkColor
public int getLinkColor()
- Returns:
- the linkColor
-
setLinkColor
public void setLinkColor(int linkColor)
- Parameters:
linkColor- the linkColor to set
-
getConnectionRouting
public int getConnectionRouting()
- Returns:
- the connectionRouting
-
setConnectionRouting
public void setConnectionRouting(int connectionRouting)
- Parameters:
connectionRouting- the connectionRouting to set
-
getMapBackgroundColor
public int getMapBackgroundColor()
- Returns:
- the mapBackgroundColor
-
getDiscoveryRadius
public final int getDiscoveryRadius()
- Returns:
- the discoveryRadius
-
setDiscoveryRadius
public final void setDiscoveryRadius(int discoveryRadius)
- Parameters:
discoveryRadius- the discoveryRadius to set
-
getHeight
public int getHeight()
- Returns:
- the height
-
setHeight
public void setHeight(int height)
- Parameters:
height- the height to set
-
getFilter
public String getFilter()
- Returns:
- the filter
-
setFilter
public void setFilter(String filter)
- Parameters:
filter- the filter to set
-
getPeerGatewayId
public long getPeerGatewayId()
- Returns:
- the peerGatewayId
-
setPeerGatewayId
public void setPeerGatewayId(long peerGatewayId)
- Parameters:
peerGatewayId- the peerGatewayId to set
-
getLocalNetworks
public List<org.netxms.base.InetAddressEx> getLocalNetworks()
- Returns:
- the localNetworks
-
getRemoteNetworks
public List<org.netxms.base.InetAddressEx> getRemoteNetworks()
- Returns:
- the remoteNetworks
-
setVpnNetworks
public void setVpnNetworks(List<org.netxms.base.InetAddressEx> localNetworks, List<org.netxms.base.InetAddressEx> remoteNetworks)
- Parameters:
localNetworks- the localNetworks to setremoteNetworks- the remoteNetworks to set
-
getPostalAddress
public org.netxms.base.PostalAddress getPostalAddress()
- Returns:
- the postalAddress
-
setPostalAddress
public void setPostalAddress(org.netxms.base.PostalAddress postalAddress)
- Parameters:
postalAddress- the postalAddress to set
-
getAgentCacheMode
public AgentCacheMode getAgentCacheMode()
Get agent cache mode- Returns:
- agent cache mode
-
setAgentCacheMode
public void setAgentCacheMode(AgentCacheMode agentCacheMode)
Set agent cache mode- Parameters:
agentCacheMode- new agent cache mode
-
getAgentCompressionMode
public AgentCompressionMode getAgentCompressionMode()
Get agent compression mode- Returns:
- agent compression mode
-
setAgentCompressionMode
public void setAgentCompressionMode(AgentCompressionMode agentCompressionMode)
Set agent compression mode- Parameters:
agentCompressionMode- new agent compression mode
-
getMapObjectDisplayMode
public MapObjectDisplayMode getMapObjectDisplayMode()
- Returns:
- the mapObjectDisplayMode
-
setMapObjectDisplayMode
public void setMapObjectDisplayMode(MapObjectDisplayMode mapObjectDisplayMode)
- Parameters:
mapObjectDisplayMode- the mapObjectDisplayMode to set
-
getPhysicalContainerObjectId
public long getPhysicalContainerObjectId()
- Returns:
- the physicalContainerObjectId
-
getFrontRackImage
public UUID getFrontRackImage()
- Returns:
- the front rackImage
-
getRearRackImage
public UUID getRearRackImage()
- Returns:
- the rear rackImage
-
getRackPosition
public short getRackPosition()
- Returns:
- the rackPosition
-
getRackHeight
public short getRackHeight()
- Returns:
- the rackHeight
-
getRackOrientation
public RackOrientation getRackOrientation()
Get rack orientation- Returns:
- rack orientation
-
setRackPlacement
public void setRackPlacement(UUID rackImageFront, UUID rackImageRear, short rackPosition, short rackHeight, RackOrientation rackOrientation)
Set rack placement data- Parameters:
physicalContainerObjectId- The rack ID to setrackImageFront- The front rack image to setrackImageRear- The rear rack image to setrackPosition- The rack position to setrackHeight- the rack height to setrackOrientation- Rack orientation (front/rear)
-
getDashboards
public Long[] getDashboards()
- Returns:
- the dashboards
-
setDashboards
public void setDashboards(Long[] dashboards)
- Parameters:
dashboards- the dashboards to set
-
isRackNumberingTopBottom
public boolean isRackNumberingTopBottom()
- Returns:
- the rackNumberingTopBottom
-
setRackNumberingTopBottom
public void setRackNumberingTopBottom(boolean rackNumberingTopBottom)
- Parameters:
rackNumberingTopBottom- the rackNumberingTopBottom to set
-
getControllerId
public long getControllerId()
- Returns:
- the controllerId
-
setControllerId
public void setControllerId(long controllerId)
- Parameters:
controllerId- the controllerId to set
-
getChassisId
public long getChassisId()
- Returns:
- the chassisId
-
setChassisId
public void setChassisId(long chassisId)
- Parameters:
chassisId- the chassisId to set
-
getSshProxy
public long getSshProxy()
- Returns:
- the sshProxy
-
setSshProxy
public void setSshProxy(long sshProxy)
- Parameters:
sshProxy- the sshProxy to set
-
getSshLogin
public String getSshLogin()
- Returns:
- the sshLogin
-
setSshLogin
public void setSshLogin(String sshLogin)
- Parameters:
sshLogin- the sshLogin to set
-
getSshPassword
public String getSshPassword()
- Returns:
- the sshPassword
-
setSshPassword
public void setSshPassword(String sshPassword)
- Parameters:
sshPassword- the sshPassword to set
-
getZoneProxies
public Long[] getZoneProxies()
- Returns:
- the zoneProxies
-
setZoneProxies
public void setZoneProxies(Long[] zoneProxies)
- Parameters:
zoneProxies- the zoneProxies to set
-
getSeedObjectIds
public Long[] getSeedObjectIds()
- Returns:
- the seedObjectIds
-
setSeedObjectIds
public void setSeedObjectIds(List<Long> seedObjectIds)
- Parameters:
seedObjectIds- the seed node object Ids to set
-
getMacAddress
public org.netxms.base.MacAddress getMacAddress()
- Returns:
- the macAddress
-
setMacAddress
public void setMacAddress(org.netxms.base.MacAddress macAddress)
- Parameters:
macAddress- the macAddress to set
-
getDeviceClass
public int getDeviceClass()
- Returns:
- the deviceClass
-
setDeviceClass
public void setDeviceClass(int deviceClass)
- Parameters:
deviceClass- the deviceClass to set
-
getVendor
public String getVendor()
- Returns:
- the vendor
-
setVendor
public void setVendor(String vendor)
- Parameters:
vendor- the vendor to set
-
getSerialNumber
public String getSerialNumber()
- Returns:
- the serialNumber
-
setSerialNumber
public void setSerialNumber(String serialNumber)
- Parameters:
serialNumber- the serialNumber to set
-
getDeviceAddress
public String getDeviceAddress()
- Returns:
- the deviceAddress
-
setDeviceAddress
public void setDeviceAddress(String deviceAddress)
- Parameters:
deviceAddress- the deviceAddress to set
-
getMetaType
public String getMetaType()
- Returns:
- the metaType
-
setMetaType
public void setMetaType(String metaType)
- Parameters:
metaType- the metaType to set
-
setSensorProxy
public void setSensorProxy(long proxyNode)
-
getSensorProxy
public long getSensorProxy()
-
getXmlConfig
public String getXmlConfig()
- Returns:
- the xmlConfig
-
setXmlConfig
public void setXmlConfig(String xmlConfig)
- Parameters:
xmlConfig- the xmlConfig to set
-
setSnmpPorts
public void setSnmpPorts(List<String> snmpPorts)
Update zone snmp port list- Parameters:
snmpPorts- to set
-
getPassiveElements
public List<PassiveRackElement> getPassiveElements()
- Returns:
- the passiveElementsConfig
-
setPassiveElements
public void setPassiveElements(List<PassiveRackElement> passiveElements)
Set passive rack elements configuration- Parameters:
passiveElements- XMS configuration of passive rack elements
-
setResponsibleUsers
public void setResponsibleUsers(List<Long> responsibleUsers)
Set responsible users- Parameters:
responsibleUsers- to set
-
setAutoBindFlags
public void setAutoBindFlags(boolean autoApply, boolean autoUnbind)Set abuto bind/remove options- Parameters:
autoApply- TODOautoUnbind- TODO
-
isAutoBindEnabled
public boolean isAutoBindEnabled()
- Returns:
- if auto bind is enabled
-
isAutoUnbindEnabled
public boolean isAutoUnbindEnabled()
- Returns:
- if auto remove is enabled
-
getIcmpStatCollectionMode
public IcmpStatCollectionMode getIcmpStatCollectionMode()
Get ICMP statistic collection mode- Returns:
- ICMP statistic collection mode
-
setIcmpStatCollectionMode
public void setIcmpStatCollectionMode(IcmpStatCollectionMode mode)
Set ICMP statistic collection mode- Parameters:
mode- new ICMP statistic collection mode
-
getIcmpTargets
public List<InetAddress> getIcmpTargets()
Get additional ICMP poll targets- Returns:
- additional ICMP poll targets
-
setIcmpTargets
public void setIcmpTargets(Collection<InetAddress> icmpTargets)
Set additional ICMP poll targets- Parameters:
icmpTargets- new list of additional ICMP poll targets
-
setPhysicalContainer
public void setPhysicalContainer(long physicalContainerObjectId)
Set physical container for object Will be set together with CHASSIS_PLACEMENT or RACK_PLACEMENT so no need to set fields- Parameters:
physicalContainerObjectId-
-
setChassisPlacement
public void setChassisPlacement(String placementConfig)
Set chassis placement information- Parameters:
placementConfig- chassis placement XML config
-
getChassisPlacement
public String getChassisPlacement()
- Returns:
- the chassisPlacement
-
getEtherNetIPPort
public int getEtherNetIPPort()
- Returns:
- the etherNetIPPort
-
setEtherNetIPPort
public void setEtherNetIPPort(int etherNetIPPort)
- Parameters:
etherNetIPPort- the etherNetIPPort to set
-
getEtherNetIPProxy
public long getEtherNetIPProxy()
- Returns:
- the etherNetIPProxy
-
setEtherNetIPProxy
public void setEtherNetIPProxy(long etherNetIPProxy)
- Parameters:
etherNetIPProxy- the etherNetIPProxy to set
-
-