|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netxms.client.datacollection.DataCollectionObject
public abstract class DataCollectionObject
Abstract data collection object
Field Summary | |
---|---|
static int |
ACTIVE
|
static int |
AGENT
|
static int |
CHECKPOINT_SNMP
|
static int |
DCF_ADVANCED_SCHEDULE
|
static int |
DCO_TYPE_GENERIC
|
static int |
DCO_TYPE_ITEM
|
static int |
DCO_TYPE_TABLE
|
protected java.lang.String |
description
|
static int |
DISABLED
|
static int |
DT_FLOAT
|
static int |
DT_INT
|
static int |
DT_INT64
|
static int |
DT_NULL
|
static int |
DT_STRING
|
static int |
DT_UINT
|
static int |
DT_UINT64
|
protected int |
flags
|
protected long |
id
|
static int |
ILO
|
static int |
INTERNAL
|
protected java.lang.String |
name
|
static int |
NOT_SUPPORTED
|
protected int |
origin
|
protected DataCollectionConfiguration |
owner
|
protected java.lang.String |
perfTabSettings
|
protected int |
pollingInterval
|
protected long |
proxyNode
|
static int |
PUSH
|
protected long |
resourceId
|
protected int |
retentionTime
|
protected java.util.ArrayList<java.lang.String> |
schedules
|
static int |
SNMP
|
protected int |
snmpPort
|
protected int |
status
|
protected java.lang.String |
systemTag
|
protected long |
templateId
|
protected java.lang.String |
transformationScript
|
static int |
WINPERF
|
Constructor Summary | |
---|---|
protected |
DataCollectionObject(DataCollectionConfiguration owner,
long id)
Constructor for new data collection objects. |
protected |
DataCollectionObject(DataCollectionConfiguration owner,
NXCPMessage msg)
Create data collection object from NXCP message |
Method Summary | |
---|---|
void |
fillMessage(NXCPMessage msg)
Fill NXCP message with item's data. |
java.lang.String |
getDescription()
|
int |
getFlags()
|
long |
getId()
|
java.lang.String |
getName()
|
long |
getNodeId()
Get ID of owning node. |
int |
getOrigin()
|
DataCollectionConfiguration |
getOwner()
Get owning data collection configuration. |
java.lang.String |
getPerfTabSettings()
|
int |
getPollingInterval()
|
long |
getProxyNode()
|
long |
getResourceId()
|
int |
getRetentionTime()
|
java.util.ArrayList<java.lang.String> |
getSchedules()
|
int |
getSnmpPort()
|
int |
getStatus()
|
java.lang.String |
getSystemTag()
Get system tag. |
long |
getTemplateId()
|
java.lang.String |
getTransformationScript()
|
boolean |
isUseAdvancedSchedule()
|
void |
setDescription(java.lang.String description)
|
void |
setFlags(int flags)
|
void |
setName(java.lang.String name)
|
void |
setOrigin(int origin)
|
void |
setPerfTabSettings(java.lang.String perfTabSettings)
|
void |
setPollingInterval(int pollingInterval)
|
void |
setProxyNode(long proxyNode)
|
void |
setResourceId(long resourceId)
|
void |
setRetentionTime(int retentionTime)
|
void |
setSchedules(java.util.Collection<java.lang.String> newSchedules)
Set schedules |
void |
setSnmpPort(int snmpPort)
|
void |
setStatus(int status)
|
void |
setSystemTag(java.lang.String systemTag)
Set system tag. |
void |
setTemplateId(long templateId)
|
void |
setTransformationScript(java.lang.String transformationScript)
|
void |
setUseAdvancedSchedule(boolean useAdvancedSchedule)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DCO_TYPE_GENERIC
public static final int DCO_TYPE_ITEM
public static final int DCO_TYPE_TABLE
public static final int INTERNAL
public static final int AGENT
public static final int SNMP
public static final int CHECKPOINT_SNMP
public static final int PUSH
public static final int WINPERF
public static final int ILO
public static final int ACTIVE
public static final int DISABLED
public static final int NOT_SUPPORTED
public static final int DT_INT
public static final int DT_UINT
public static final int DT_INT64
public static final int DT_UINT64
public static final int DT_STRING
public static final int DT_FLOAT
public static final int DT_NULL
public static final int DCF_ADVANCED_SCHEDULE
protected DataCollectionConfiguration owner
protected long id
protected long templateId
protected long resourceId
protected long proxyNode
protected int pollingInterval
protected int retentionTime
protected int origin
protected int status
protected int flags
protected java.lang.String transformationScript
protected java.lang.String name
protected java.lang.String description
protected java.lang.String systemTag
protected java.lang.String perfTabSettings
protected int snmpPort
protected java.util.ArrayList<java.lang.String> schedules
Constructor Detail |
---|
protected DataCollectionObject(DataCollectionConfiguration owner, NXCPMessage msg)
owner
- Owning configuration objectmsg
- NXCP messageprotected DataCollectionObject(DataCollectionConfiguration owner, long id)
owner
- Owning configuration objectid
- Identifier assigned to new itemMethod Detail |
---|
public void fillMessage(NXCPMessage msg)
msg
- NXCP messagepublic long getTemplateId()
public void setTemplateId(long templateId)
templateId
- the templateId to setpublic long getResourceId()
public void setResourceId(long resourceId)
resourceId
- the resourceId to setpublic long getProxyNode()
public void setProxyNode(long proxyNode)
proxyNode
- the proxyNode to setpublic int getPollingInterval()
public void setPollingInterval(int pollingInterval)
pollingInterval
- the pollingInterval to setpublic int getRetentionTime()
public void setRetentionTime(int retentionTime)
retentionTime
- the retentionTime to setpublic int getOrigin()
public void setOrigin(int origin)
origin
- the origin to setpublic int getStatus()
public void setStatus(int status)
status
- the status to setpublic boolean isUseAdvancedSchedule()
public void setUseAdvancedSchedule(boolean useAdvancedSchedule)
useAdvancedSchedule
- the useAdvancedSchedule to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- the description to setpublic long getId()
public java.util.ArrayList<java.lang.String> getSchedules()
public void setSchedules(java.util.Collection<java.lang.String> newSchedules)
newSchedules
- Collection containing new schedulespublic DataCollectionConfiguration getOwner()
public long getNodeId()
public java.lang.String getSystemTag()
public void setSystemTag(java.lang.String systemTag)
systemTag
- New system tag for DCIpublic java.lang.String getPerfTabSettings()
public void setPerfTabSettings(java.lang.String perfTabSettings)
perfTabSettings
- the perfTabSettings to setpublic int getSnmpPort()
public void setSnmpPort(int snmpPort)
snmpPort
- the snmpPort to setpublic int getFlags()
public void setFlags(int flags)
flags
- the flags to setpublic java.lang.String getTransformationScript()
public void setTransformationScript(java.lang.String transformationScript)
transformationScript
- the transformationScript to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |