public abstract class InventoryCollector2 extends InventoryCollector
EXECUTION_MODE_ALL, EXECUTION_MODE_COLLECTOR, EXECUTION_MODE_JOBMGR, FREQUENCY_15MIN, FREQUENCY_30MIN, FREQUENCY_DAILY, FREQUENCY_FOUR_HOURLY, FREQUENCY_HOURLY, FREQUENCY_MIN, FREQUENCY_MONTHLY, FREQUENCY_NON_RECURRING, FREQUENCY_THOUROUGLY, FREQUENCY_TWENTY_FOUR_HOURLY, FREQUENCY_WEEKLY
Constructor and Description |
---|
InventoryCollector2() |
Modifier and Type | Method and Description |
---|---|
void |
afterInventoryDone() |
void |
beforeInventoryStart() |
void |
execute(long lastExecuted) |
void |
execute(long lastExecuted,
java.lang.Object object) |
void |
execute(long last,
TaskParameters[] parameters) |
java.lang.String |
getAccountName() |
java.lang.String |
getAccountTypeID() |
ConnectionProperties |
getConnectionProperties() |
NodeConnectorIf |
getConnector()
Returns the NodeConnectorIf used to connect to the device and retrieve data
from the device.
|
PersistenceListener |
getItemListener()
Returns a PersistenceListener to handle persisting data from the device.
|
ItemParserIf |
getItemParser()
Returns the ItemParserIf used to parse output retrieved from the device.
|
ItemDataObjectBinderIf |
getObjectBinder()
Returns a ItemDataObjectBinderIf to convert data retrieved from the device into
a POJO.
|
void |
setAccountName(java.lang.String accountName) |
void |
setAccountTypeID(java.lang.String accountTypeID) |
addItem, collectItem, connect, disconnect, execute, getBindObject, getCollectibleItems, getFrequenceInMinutes, getFrequency, getNodeId, getTaskExecutionMode, handleConnectionFailure, isValid, setConnectionProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFrequencyHoursLov, getFrequencyMinsLov, getTaskName
public java.lang.String getAccountName()
public void setAccountName(java.lang.String accountName)
public java.lang.String getAccountTypeID()
public void setAccountTypeID(java.lang.String accountTypeID)
public NodeConnectorIf getConnector()
CollectorIf
public ItemParserIf getItemParser()
CollectorIf
public PersistenceListener getItemListener()
CollectorIf
public ItemDataObjectBinderIf getObjectBinder()
CollectorIf
public void execute(long last, TaskParameters[] parameters) throws java.lang.Exception
execute
in interface ParameterizedScheduleTask
execute
in class InventoryCollector
java.lang.Exception
public void execute(long lastExecuted, java.lang.Object object) throws java.lang.Exception
java.lang.Exception
public void execute(long lastExecuted) throws java.lang.Exception
execute
in interface ScheduleTask
execute
in class InventoryCollector
java.lang.Exception
public void beforeInventoryStart()
beforeInventoryStart
in class InventoryCollector
public void afterInventoryDone()
afterInventoryDone
in class InventoryCollector
public ConnectionProperties getConnectionProperties()
getConnectionProperties
in class InventoryCollector