public final class Controller extends Object
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Adds listener for various properties
|
static Controller |
getDefault() |
URL |
getHintsURL()
If the automatic mode is on, this method returns the URL that has been
returned when data were transmitted to the server last time.
|
int |
getLogRecordsCount()
Getter for the number of collected log records
|
boolean |
isAutomaticSubmit()
Are logs automatically send to server when the local buffer gets full?
|
void |
removePropertyChangeListener(PropertyChangeListener l)
Removes property change listener.
|
void |
setEnableExceptionHandler(boolean enable)
Controls exception reporting.
|
void |
submit()
Explicitly invoke the submit data procedure.
|
public static Controller getDefault()
public void setEnableExceptionHandler(boolean enable)
enable
- enable or disable.public int getLogRecordsCount()
public boolean isAutomaticSubmit()
public URL getHintsURL()
public void addPropertyChangeListener(PropertyChangeListener l)
l
- public void removePropertyChangeListener(PropertyChangeListener l)
l
- public void submit()