org.netxms.client.objecttools
Class ObjectToolDetails
java.lang.Object
org.netxms.client.objecttools.ObjectTool
org.netxms.client.objecttools.ObjectToolDetails
public class ObjectToolDetails
- extends ObjectTool
Detailed information about object tool
Fields inherited from class org.netxms.client.objecttools.ObjectTool |
ASK_CONFIRMATION, confirmationText, data, description, displayName, flags, GENERATES_OUTPUT, id, name, REQUIRES_AGENT, REQUIRES_OID_MATCH, REQUIRES_SNMP, SNMP_INDEXED_BY_VALUE, snmpOid, type, TYPE_ACTION, TYPE_FILE_DOWNLOAD, TYPE_INTERNAL, TYPE_LOCAL_COMMAND, TYPE_SERVER_COMMAND, TYPE_TABLE_AGENT, TYPE_TABLE_SNMP, TYPE_URL |
Methods inherited from class org.netxms.client.objecttools.ObjectTool |
createDisplayName, getConfirmationText, getData, getDescription, getDisplayName, getFlags, getId, getName, getSnmpOid, getType, isApplicableForNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectToolDetails
public ObjectToolDetails(long toolId,
int type,
java.lang.String name)
- Create new tool object
- Parameters:
toolId
- tool idtype
- tool typename
- tool name
ObjectToolDetails
public ObjectToolDetails(NXCPMessage msg)
- Create object tool from NXCP message containing detailed tool information.
Intended to be called only by NXCSession methods.
- Parameters:
msg
- NXCP message
fillMessage
public void fillMessage(NXCPMessage msg)
- Fill NXCP message with tool's data.
- Parameters:
msg
- NXCP message
getAccessList
public java.util.List<java.lang.Long> getAccessList()
- Returns:
- the accessList
getColumns
public java.util.List<ObjectToolTableColumn> getColumns()
- Returns:
- the columns
setId
public void setId(long id)
- Parameters:
id
- the id to set
setName
public void setName(java.lang.String name)
- Parameters:
name
- the name to set
setType
public void setType(int type)
- Parameters:
type
- the type to set
setFlags
public void setFlags(int flags)
- Parameters:
flags
- the flags to set
setDescription
public void setDescription(java.lang.String description)
- Parameters:
description
- the description to set
setSnmpOid
public void setSnmpOid(java.lang.String snmpOid)
- Parameters:
snmpOid
- the snmpOid to set
setData
public void setData(java.lang.String data)
- Parameters:
data
- the data to set
setConfirmationText
public void setConfirmationText(java.lang.String confirmationText)
- Parameters:
confirmationText
- the confirmationText to set
isModified
public boolean isModified()
- Returns:
- the modified
setAccessList
public void setAccessList(java.util.List<java.lang.Long> accessList)
- Parameters:
accessList
- the accessList to set
setColumns
public void setColumns(java.util.List<ObjectToolTableColumn> columns)
- Parameters:
columns
- the columns to set
Copyright © 2013. All Rights Reserved.