Package org.snmp4j.agent.io
Class ImportModes
java.lang.Object
org.snmp4j.agent.io.ImportModes
The definition of import modes for MIB data.
- Version:
- 1.2
- Author:
- Frank Fock
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Only create new instances.static final int
Replaces existing data, if there is any data available for import for the currentManagedObject
and creates data that does not yet exist.static final int
Only update existing data.static final int
In contrast toREPLACE_CREATE
, only existing data is updated or new data is created. -
Method Summary
-
Field Details
-
REPLACE_CREATE
public static final int REPLACE_CREATEReplaces existing data, if there is any data available for import for the currentManagedObject
and creates data that does not yet exist.- See Also:
-
UPDATE_CREATE
public static final int UPDATE_CREATEIn contrast toREPLACE_CREATE
, only existing data is updated or new data is created. Existing data for aManagedObject
which is not updated through imported data, will not be changed (deleted) during import.- See Also:
-
UPDATE
public static final int UPDATEOnly update existing data. No new instances are created and nothing deleted.- See Also:
-
CREATE
public static final int CREATEOnly create new instances. No updates at all.- See Also:
-