|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.inet.report.config.ConfigurationChangeEvent
public class ConfigurationChangeEvent
This event is fired, if:
Configuration has changed through Configuration.put(String, String) or Configuration.putAll(java.util.Map).ConfigurationManager.getCurrent())
| Field Summary | |
|---|---|
static int |
TYPE_CHANGE
Type specifying that the currently configuration has been changed to a different configuration than before, via ConfigurationManager.setCurrent(Configuration) |
static int |
TYPE_CLEAR
Type specifying that a configuration has been cleared via Configuration.clear() |
static int |
TYPE_COPY
Type specifying that a configuration has been copied via ConfigurationManager.copy(int, String, int, String) |
static int |
TYPE_CREATE
Type specifying that a new configuration has been created via ConfigurationManager.create(int, String) |
static int |
TYPE_DELETE
Type specifying that a configuration has been deleted via ConfigurationManager.delete(int, String) |
static int |
TYPE_IMPORT
Type specifying that a configuration has been imported via ConfigurationManager.importFromStream(int, String, java.io.InputStream). |
static int |
TYPE_MODIFY
Type specifying that a configuration has been modified, e.g. via Configuration.put(String, String). |
| Method Summary | |
|---|---|
java.lang.String |
getChangedConfigurationName()
Returns the name of the configuration which was changed (or the name of the new current configuration). |
int |
getChangedConfigurationScope()
Returns the scope of the configuration which was changed (or the scope of the new current configuration). |
int |
getType()
Returns the event type which specifies exactly which change occurred with the given configuration. |
boolean |
isCurrentConfiguration()
Returns true if the configuration was the "current" configuration at the time this event was created, false otherwise. |
| Field Detail |
|---|
public static final int TYPE_CHANGE
ConfigurationManager.setCurrent(Configuration)
public static final int TYPE_CREATE
ConfigurationManager.create(int, String)
public static final int TYPE_MODIFY
Configuration.put(String, String).
public static final int TYPE_DELETE
ConfigurationManager.delete(int, String)
public static final int TYPE_IMPORT
ConfigurationManager.importFromStream(int, String, java.io.InputStream).
public static final int TYPE_COPY
ConfigurationManager.copy(int, String, int, String)
public static final int TYPE_CLEAR
Configuration.clear()
| Method Detail |
|---|
public java.lang.String getChangedConfigurationName()
ConfigurationManager.get(int, String)public int getChangedConfigurationScope()
Configuration.SCOPE_SYSTEM,
Configuration.SCOPE_USER,
Configuration.SCOPE_TEMP,
ConfigurationManager.get(int, String)public boolean isCurrentConfiguration()
ConfigurationManager.getCurrent()public int getType()
TYPE_CHANGE,
TYPE_CLEAR,
TYPE_COPY,
TYPE_CREATE,
TYPE_DELETE,
TYPE_IMPORT,
TYPE_MODIFY
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||