|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netxms.client.datacollection.DataCollectionItem
public class DataCollectionItem
| Field Summary | |
|---|---|
static int |
ACTIVE
|
static int |
AGENT
|
static int |
CHECKPOINT_SNMP
|
static int |
DELTA_AVERAGE_PER_MINUTE
|
static int |
DELTA_AVERAGE_PER_SECOND
|
static int |
DELTA_NONE
|
static int |
DELTA_SIMPLE
|
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
|
static int |
INTERNAL
|
static int |
NOT_SUPPORTED
|
static int |
PUSH
|
static int |
SNMP
|
| Constructor Summary | |
|---|---|
protected |
DataCollectionItem(DataCollectionConfiguration owner,
long id)
Constructor for new data collection items. |
protected |
DataCollectionItem(DataCollectionConfiguration owner,
NXCPMessage msg)
Create data collection item object from NXCP message |
| Method Summary | |
|---|---|
void |
fillMessage(NXCPMessage msg)
Fill NXCP message with item's data. |
int |
getBaseUnits()
|
java.lang.String |
getCustomUnitName()
|
int |
getDataType()
|
int |
getDeltaCalculation()
|
java.lang.String |
getDescription()
|
long |
getId()
|
java.lang.String |
getInstance()
|
int |
getMultiplier()
|
java.lang.String |
getName()
|
long |
getNodeId()
Get ID of owning node. |
int |
getOrigin()
|
DataCollectionConfiguration |
getOwner()
Get owning data collection configuration. |
int |
getPollingInterval()
|
long |
getProxyNode()
|
long |
getResourceId()
|
int |
getRetentionTime()
|
java.util.ArrayList<java.lang.String> |
getSchedules()
|
int |
getStatus()
|
long |
getTemplateId()
|
java.util.ArrayList<Threshold> |
getThresholds()
|
java.lang.String |
getTransformationScript()
|
boolean |
isProcessAllThresholds()
|
boolean |
isUseAdvancedSchedule()
|
void |
setBaseUnits(int baseUnits)
|
void |
setCustomUnitName(java.lang.String customUnitName)
|
void |
setDataType(int dataType)
|
void |
setDeltaCalculation(int deltaCalculation)
|
void |
setDescription(java.lang.String description)
|
void |
setInstance(java.lang.String instance)
|
void |
setMultiplier(int multiplier)
|
void |
setName(java.lang.String name)
|
void |
setOrigin(int origin)
|
void |
setPollingInterval(int pollingInterval)
|
void |
setProcessAllThresholds(boolean processAllThresholds)
|
void |
setProxyNode(long proxyNode)
|
void |
setResourceId(long resourceId)
|
void |
setRetentionTime(int retentionTime)
|
void |
setSchedules(java.util.Collection<java.lang.String> newSchedules)
Set schedules |
void |
setStatus(int status)
|
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 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 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 DELTA_NONE
public static final int DELTA_SIMPLE
public static final int DELTA_AVERAGE_PER_SECOND
public static final int DELTA_AVERAGE_PER_MINUTE
| Constructor Detail |
|---|
protected DataCollectionItem(DataCollectionConfiguration owner,
NXCPMessage msg)
owner - Owning configuration objectmsg - NXCP message
protected DataCollectionItem(DataCollectionConfiguration owner,
long id)
owner - Owning configuration objectid - Identifier assigned to new item| Method 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 getDataType()
public void setDataType(int dataType)
dataType - the dataType 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 int getDeltaCalculation()
public void setDeltaCalculation(int deltaCalculation)
deltaCalculation - the deltaCalculation to setpublic boolean isProcessAllThresholds()
public void setProcessAllThresholds(boolean processAllThresholds)
processAllThresholds - the processAllThresholds 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 java.lang.String getTransformationScript()
public void setTransformationScript(java.lang.String transformationScript)
transformationScript - the transformationScript to setpublic java.lang.String getInstance()
public void setInstance(java.lang.String instance)
instance - the instance to setpublic int getBaseUnits()
public void setBaseUnits(int baseUnits)
baseUnits - the baseUnits to setpublic int getMultiplier()
public void setMultiplier(int multiplier)
multiplier - the multiplier to setpublic java.lang.String getCustomUnitName()
public void setCustomUnitName(java.lang.String customUnitName)
customUnitName - the customUnitName 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 java.util.ArrayList<Threshold> getThresholds()
public DataCollectionConfiguration getOwner()
public long getNodeId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||