public abstract class AbstractParameterization extends java.lang.Object implements Parameterization
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.List<ParameterException> |
errors
Errors
|
private static Logging |
LOG
The logger of the class.
|
| Constructor and Description |
|---|
AbstractParameterization() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearErrors()
Clear errors.
|
void |
failOnErrors()
Fail on errors, log any error that had occurred.
|
protected void |
finalize()
Upon destruction, report any errors that weren't handled yet.
|
java.util.Collection<ParameterException> |
getErrors()
Get the configuration errors thrown in
Parameterization.grab(de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.Parameter<?>) |
void |
logAndClearReportedErrors()
Log any error that has accumulated.
|
void |
reportError(ParameterException e)
Report a configuration error.
|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdescend, grab, hasErrors, hasUnusedParameters, setValueForOption, tryInstantiateprivate static final Logging LOG
java.util.List<ParameterException> errors
public java.util.Collection<ParameterException> getErrors()
ParameterizationParameterization.grab(de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.Parameter<?>)getErrors in interface Parameterizationpublic void reportError(ParameterException e)
ParameterizationreportError in interface Parameterizatione - Destination to report errors topublic void logAndClearReportedErrors()
public void clearErrors()
public void failOnErrors()
throws AbortException
java.lang.RuntimeException - if any error has occurred.AbortExceptionprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable - ErrorsCopyright © 2019 ELKI Development Team. License information.