public class NXCObjectModificationData extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ACL |
static int |
ACTIVATION_EVENT |
static int |
ACTIVE_STATUS |
static int |
AGENT_AUTH |
static int |
AGENT_CACHE_MODE |
static int |
AGENT_PORT |
static int |
AGENT_PROXY |
static int |
AUTOBIND_FILTER |
static int |
CHASSIS_ID |
static int |
CLUSTER_NETWORKS |
static int |
CLUSTER_RESOURCES |
static int |
COLUMN_COUNT |
static int |
CONNECTION_ROUTING |
static int |
CONTROLLER_ID |
static int |
CUSTOM_ATTRIBUTES |
static int |
DASHBOARD_ELEMENTS |
static int |
DASHBOARD_LIST |
static int |
DCI_LIST |
static int |
DEACTIVATION_EVENT |
static int |
DESCRIPTION |
static int |
DISCOVERY_RADIUS |
static int |
EXPECTED_STATE |
static int |
FILTER |
static int |
GEOLOCATION |
static int |
HEIGHT |
static int |
ICMP_PROXY |
static int |
IFXTABLE_POLICY |
static int |
IMAGE |
static int |
INACTIVE_STATUS |
static int |
IP_ADDRESS |
static int |
IP_PORT |
static int |
IP_PROTOCOL |
static int |
LINK_COLOR |
static int |
MAP_BACKGROUND |
static int |
MAP_CONTENT |
static int |
MAP_LAYOUT |
static int |
MAPOBJ_DISP_MODE |
static int |
NAME |
static int |
OBJECT_FLAGS |
static int |
PEER_GATEWAY |
static int |
POLICY_CONFIG |
static int |
POLLER_NODE |
static int |
POSTAL_ADDRESS |
static int |
PRIMARY_IP |
static int |
PRIMARY_NAME |
static int |
RACK_NUMB_SCHEME |
static int |
RACK_PLACEMENT |
static int |
REPORT_DEFINITION |
static int |
REQUEST |
static int |
REQUIRED_POLLS |
static int |
RESPONSE |
static int |
SCRIPT |
static int |
SERVICE_TYPE |
static int |
SNMP_AUTH |
static int |
SNMP_PORT |
static int |
SNMP_PROXY |
static int |
SNMP_VERSION |
static int |
SOURCE_OBJECT |
static int |
SSH_LOGIN |
static int |
SSH_PASSWORD |
static int |
SSH_PROXY |
static int |
STATUS_CALCULATION |
static int |
SUBMAP_ID |
static int |
TRUSTED_NODES |
static int |
VERSION |
static int |
VPN_NETWORKS |
static int |
ZONE_PROXY |
Constructor and Description |
---|
NXCObjectModificationData(long objectId)
Constructor for creating modification data for given object
|
public static final int NAME
public static final int ACL
public static final int CUSTOM_ATTRIBUTES
public static final int AUTOBIND_FILTER
public static final int LINK_COLOR
public static final int POLICY_CONFIG
public static final int VERSION
public static final int DESCRIPTION
public static final int AGENT_PORT
public static final int AGENT_AUTH
public static final int SNMP_VERSION
public static final int SNMP_AUTH
public static final int AGENT_PROXY
public static final int SNMP_PROXY
public static final int TRUSTED_NODES
public static final int GEOLOCATION
public static final int PRIMARY_IP
public static final int SNMP_PORT
public static final int MAP_LAYOUT
public static final int MAP_BACKGROUND
public static final int MAP_CONTENT
public static final int IMAGE
public static final int ICMP_PROXY
public static final int COLUMN_COUNT
public static final int DASHBOARD_ELEMENTS
public static final int SCRIPT
public static final int ACTIVATION_EVENT
public static final int DEACTIVATION_EVENT
public static final int SOURCE_OBJECT
public static final int ACTIVE_STATUS
public static final int INACTIVE_STATUS
public static final int DCI_LIST
public static final int SUBMAP_ID
public static final int IP_ADDRESS
public static final int IP_PROTOCOL
public static final int IP_PORT
public static final int SERVICE_TYPE
public static final int POLLER_NODE
public static final int REQUIRED_POLLS
public static final int REQUEST
public static final int RESPONSE
public static final int OBJECT_FLAGS
public static final int IFXTABLE_POLICY
public static final int REPORT_DEFINITION
public static final int CLUSTER_RESOURCES
public static final int PRIMARY_NAME
public static final int STATUS_CALCULATION
public static final int CLUSTER_NETWORKS
public static final int EXPECTED_STATE
public static final int CONNECTION_ROUTING
public static final int DISCOVERY_RADIUS
public static final int HEIGHT
public static final int FILTER
public static final int PEER_GATEWAY
public static final int VPN_NETWORKS
public static final int POSTAL_ADDRESS
public static final int AGENT_CACHE_MODE
public static final int MAPOBJ_DISP_MODE
public static final int RACK_PLACEMENT
public static final int DASHBOARD_LIST
public static final int RACK_NUMB_SCHEME
public static final int CONTROLLER_ID
public static final int CHASSIS_ID
public static final int SSH_PROXY
public static final int SSH_LOGIN
public static final int SSH_PASSWORD
public static final int ZONE_PROXY
public NXCObjectModificationData(long objectId)
public long getObjectId()
public void setObjectId(long objectId)
objectId
- the objectId to setpublic String getName()
public void setName(String name)
name
- the name to setpublic boolean isFieldSet(int field)
field
- field codepublic AccessListElement[] getACL()
public void setACL(AccessListElement[] acl)
acl
- the acl to setpublic boolean isInheritAccessRights()
public void setInheritAccessRights(boolean inheritAccessRights)
inheritAccessRights
- the inheritAccessRights to setpublic void setCustomAttributes(Map<String,String> customAttributes)
customAttributes
- the customAttributes to setpublic String getAutoBindFilter()
public void setAutoBindFilter(String autoBindFilter)
autoApplyFilter
- the autoApplyFilter to setpublic String getConfigFileContent()
public void setConfigFileContent(String configFileContent)
configFileContent
- the configFileContent to setpublic int getVersion()
public void setVersion(int version)
version
- the version to setpublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic int getAgentPort()
public void setAgentPort(int agentPort)
public int getAgentAuthMethod()
public void setAgentAuthMethod(int agentAuthMethod)
agentAuthMethod
- the agentAuthMethod to setpublic String getAgentSecret()
public void setAgentSecret(String agentSecret)
agentSecret
- the agentSecret to setpublic long getAgentProxy()
public void setAgentProxy(long agentProxy)
agentProxy
- the agentProxy to setpublic int getSnmpVersion()
public void setSnmpVersion(int snmpVersion)
snmpVersion
- the snmpVersion to setpublic int getSnmpAuthMethod()
public void setSnmpAuthMethod(int snmpAuthMethod)
snmpAuthMethod
- the snmpAuthMethod to setpublic int getSnmpPrivMethod()
public void setSnmpPrivMethod(int snmpPrivMethod)
snmpPrivMethod
- the snmpPrivMethod to setpublic String getSnmpAuthName()
public void setSnmpAuthName(String snmpAuthName)
snmpAuthName
- the snmpAuthName to setpublic String getSnmpAuthPassword()
public void setSnmpAuthPassword(String snmpAuthPassword)
snmpAuthPassword
- the snmpAuthPassword to setpublic String getSnmpPrivPassword()
public void setSnmpPrivPassword(String snmpPrivPassword)
snmpPrivPassword
- the snmpPrivPassword to setpublic long getSnmpProxy()
public void setSnmpProxy(long snmpProxy)
snmpProxy
- the snmpProxy to setpublic long getIcmpProxy()
public void setIcmpProxy(long icmpProxy)
icmpProxy
- the icmpProxy to setpublic long[] getTrustedNodes()
public void setTrustedNodes(long[] trustedNodes)
trustedNodes
- the trustedNodes to setpublic org.netxms.base.GeoLocation getGeolocation()
public void setGeolocation(org.netxms.base.GeoLocation geolocation)
geolocation
- the geolocation to setpublic InetAddress getPrimaryIpAddress()
public void setPrimaryIpAddress(InetAddress primaryIpAddress)
primaryIpAddress
- the primaryIpAddress to setpublic int getSnmpPort()
public void setSnmpPort(int snmpPort)
snmpPort
- the snmpPort to setpublic MapLayoutAlgorithm getMapLayout()
public void setMapLayout(MapLayoutAlgorithm mapLayout)
mapLayout
- the mapLayout to setpublic UUID getMapBackground()
public void setMapBackground(UUID mapBackground, org.netxms.base.GeoLocation mapBackgroundLocation, int mapBackgroundZoom, int mapBackgroundColor)
mapBackground
- the mapBackground to setpublic Collection<NetworkMapElement> getMapElements()
public Collection<NetworkMapLink> getMapLinks()
public void setMapContent(Collection<NetworkMapElement> elements, Collection<NetworkMapLink> links)
elements
- links
- public UUID getImage()
public void setImage(UUID image)
image
- the image to setpublic int getColumnCount()
public void setColumnCount(int columnCount)
columnCount
- the columnCount to setpublic Collection<DashboardElement> getDashboardElements()
public void setDashboardElements(Collection<DashboardElement> dashboardElements)
dashboardElements
- the dashboardElements to setpublic String getScript()
public void setScript(String script)
script
- the script to setpublic int getActivationEvent()
public void setActivationEvent(int activationEvent)
activationEvent
- the activationEvent to setpublic int getDeactivationEvent()
public void setDeactivationEvent(int deactivationEvent)
deactivationEvent
- the deactivationEvent to setpublic long getSourceObject()
public void setSourceObject(long sourceObject)
sourceObject
- the sourceObject to setpublic int getActiveStatus()
public void setActiveStatus(int activeStatus)
activeStatus
- the activeStatus to setpublic int getInactiveStatus()
public void setInactiveStatus(int inactiveStatus)
inactiveStatus
- the inactiveStatus to setpublic List<ConditionDciInfo> getDciList()
public void setDciList(List<ConditionDciInfo> dciList)
dciList
- the dciList to setpublic long getSubmapId()
public void setSubmapId(long submapId)
submapId
- the submapId to setpublic org.netxms.base.GeoLocation getMapBackgroundLocation()
public int getMapBackgroundZoom()
public long getPollerNode()
public void setPollerNode(long pollerNode)
pollerNode
- the pollerNode to setpublic int getRequiredPolls()
public void setRequiredPolls(int requiredPolls)
requiredPolls
- the requiredPolls to setpublic int getServiceType()
public void setServiceType(int serviceType)
serviceType
- the serviceType to setpublic int getIpProtocol()
public void setIpProtocol(int ipProtocol)
ipProtocol
- the ipProtocol to setpublic int getIpPort()
public void setIpPort(int ipPort)
ipPort
- the ipPort to setpublic int getIpAddress()
public void setIpAddress(int ipAddress)
ipAddress
- the ipAddress to setpublic String getRequest()
public void setRequest(String request)
request
- the request to setpublic String getResponse()
public void setResponse(String response)
response
- the response to setpublic int getObjectFlags()
public int getObjectFlagsMask()
public void setObjectFlags(int objectFlags)
nodeFlags
- the nodeFlags to setpublic void setObjectFlags(int objectFlags, int objectFlagsMask)
nodeFlags
- the nodeFlags to setpublic int getIfXTablePolicy()
public void setIfXTablePolicy(int ifXTablePolicy)
ifXTablePolicy
- the ifXTablePolicy to setpublic String getReportDefinition()
public void setReportDefinition(String reportDefinition)
reportDefinition
- the reportDefinition to setpublic void setReportDefinition(File file) throws IOException, FileNotFoundException
file
- file containing report definitionIOException
- if file I/O error occursFileNotFoundException
- if given file does not exist or inaccessiblepublic List<ClusterResource> getResourceList()
public void setResourceList(List<ClusterResource> resourceList)
resourceList
- the resourceList to setpublic List<org.netxms.base.InetAddressEx> getNetworkList()
public void setNetworkList(List<org.netxms.base.InetAddressEx> networkList)
networkList
- the networkList to setpublic String getPrimaryName()
public void setPrimaryName(String primaryName)
primaryName
- the primaryName to setpublic int getStatusCalculationMethod()
public void setStatusCalculationMethod(int statusCalculationMethod)
statusCalculationMethod
- the statusCalculationMethod to setpublic int getStatusPropagationMethod()
public void setStatusPropagationMethod(int statusPropagationMethod)
statusPropagationMethod
- the statusPropagationMethod to setpublic ObjectStatus getFixedPropagatedStatus()
public void setFixedPropagatedStatus(ObjectStatus fixedPropagatedStatus)
fixedPropagatedStatus
- the fixedPropagatedStatus to setpublic int getStatusShift()
public void setStatusShift(int statusShift)
statusShift
- the statusShift to setpublic ObjectStatus[] getStatusTransformation()
public void setStatusTransformation(ObjectStatus[] statusTransformation)
statusTransformation
- the statusTransformation to setpublic int getStatusSingleThreshold()
public void setStatusSingleThreshold(int statusSingleThreshold)
statusSingleThreshold
- the statusSingleThreshold to setpublic int[] getStatusThresholds()
public void setStatusThresholds(int[] statusThresholds)
statusThresholds
- the statusThresholds to setpublic int getExpectedState()
public void setExpectedState(int expectedState)
expectedState
- the expectedState to setpublic int getLinkColor()
public void setLinkColor(int linkColor)
linkColor
- the linkColor to setpublic int getConnectionRouting()
public void setConnectionRouting(int connectionRouting)
connectionRouting
- the connectionRouting to setpublic int getMapBackgroundColor()
public final int getDiscoveryRadius()
public final void setDiscoveryRadius(int discoveryRadius)
discoveryRadius
- the discoveryRadius to setpublic int getHeight()
public void setHeight(int height)
height
- the height to setpublic String getFilter()
public void setFilter(String filter)
filter
- the filter to setpublic long getPeerGatewayId()
public void setPeerGatewayId(long peerGatewayId)
peerGatewayId
- the peerGatewayId to setpublic List<org.netxms.base.InetAddressEx> getLocalNetworks()
public List<org.netxms.base.InetAddressEx> getRemoteNetworks()
public void setVpnNetworks(List<org.netxms.base.InetAddressEx> localNetworks, List<org.netxms.base.InetAddressEx> remoteNetworks)
remoteNetworks
- the remoteNetworks to setpublic org.netxms.base.PostalAddress getPostalAddress()
public void setPostalAddress(org.netxms.base.PostalAddress postalAddress)
postalAddress
- the postalAddress to setpublic AgentCacheMode getAgentCacheMode()
public void setAgentCacheMode(AgentCacheMode agentCacheMode)
agentCacheMode
- the agentCacheMode to setpublic MapObjectDisplayMode getMapObjectDisplayMode()
public void setMapObjectDisplayMode(MapObjectDisplayMode mapObjectDisplayMode)
mapObjectDisplayMode
- the mapObjectDisplayMode to setpublic long getRackId()
public UUID getRackImage()
public short getRackPosition()
public short getRackHeight()
public void setRackPlacement(long rackId, UUID rackImage, short rackPosition, short rackHeight)
rackId
- rackImage
- rackPosition
- rackHeight
- public Long[] getDashboards()
public void setDashboards(Long[] dashboards)
dashboards
- the dashboards to setpublic boolean isRackNumberingTopBottom()
public void setRackNumberingTopBottom(boolean rackNumberingTopBottom)
rackNumberingTopBottom
- the rackNumberingTopBottom to setpublic long getControllerId()
public void setControllerId(long controllerId)
controllerId
- the controllerId to setpublic long getChassisId()
public void setChassisId(long chassisId)
chassisId
- the chassisId to setpublic long getSshProxy()
public void setSshProxy(long sshProxy)
sshProxy
- the sshProxy to setpublic String getSshLogin()
public void setSshLogin(String sshLogin)
sshLogin
- the sshLogin to setpublic String getSshPassword()
public void setSshPassword(String sshPassword)
sshPassword
- the sshPassword to setpublic long getZoneProxy()
public void setZoneProxy(long zoneProxy)
zoneProxy
- the zoneProxy to setCopyright © 2016. All rights reserved.