| java.lang.Object com.coi.tools.os.win.RegistryLogItem
RegistryLogItem | public class RegistryLogItem implements Cloneable,Serializable(Code) | | Data container for Windows registry logging. This container is used to hold old and new created
registry data used at rewinding the registry changes.
author: Klaus Bartz |
CHANGED_VALUE | final public static int CHANGED_VALUE(Code) | | Identifier for changed value
|
CREATED_KEY | final public static int CREATED_KEY(Code) | | Identifier for created key
|
CREATED_VALUE | final public static int CREATED_VALUE(Code) | | Identifier for created value
|
REMOVED_KEY | final public static int REMOVED_KEY(Code) | | Identifier for removed key
|
REMOVED_VALUE | final public static int REMOVED_VALUE(Code) | | Identifier for removed value
|
RegistryLogItem | public RegistryLogItem(int type, int root, String key, String valueName, RegDataContainer newValue, RegDataContainer oldValue)(Code) | | Constructor with settings.
Parameters: type - type of loging item. Possible are REMOVED_KEY, CREATED_KEY, REMOVED_VALUE,CREATED_VALUE and CHANGED_VALUE Parameters: root - id for the registry root Parameters: key - key name of the item which should be logged Parameters: valueName - name of the value of the item which should be logged if it is a value type,else null Parameters: newValue - new value of the registry entry if it is a value type, else null Parameters: oldValue - old value of the registry entry if it is a value type, else null |
getKey | public String getKey()(Code) | | Returns the key name of this logging item.
the key name of this logging item |
getNewValue | public RegDataContainer getNewValue()(Code) | | Returns the new value of this logging item.
the new value of this logging item |
getOldValue | public RegDataContainer getOldValue()(Code) | | Returns the old value of this logging item.
the old value of this logging item |
getRoot | public int getRoot()(Code) | | Returns the root id of this logging item.
the root id of this logging item |
getType | public int getType()(Code) | | Returns the type id of this logging item.
the type id of this logging item |
getValueName | public String getValueName()(Code) | | Returns the value name of this logging item.
the value name of this logging item |
setKey | public void setKey(String string)(Code) | | Sets the key name to the given string
Parameters: string - to be used as key name |
setNewValue | public void setNewValue(RegDataContainer container)(Code) | | Sets the new value to the given RegDataContainer.
Parameters: container - to be used as new value |
setOldValue | public void setOldValue(RegDataContainer container)(Code) | | Sets the old value to the given RegDataContainer.
Parameters: container - to be used as old value |
setRoot | public void setRoot(int i)(Code) | | Sets the root id for this logging item.
Parameters: i - root id to be used for this logging item |
setType | public void setType(int i)(Code) | | Sets the type id for this logging item.
Parameters: i - type id to be used for this logging item |
setValueName | public void setValueName(String string)(Code) | | Sets the value name to the given string
Parameters: string - to be used as value name |
|
|