io.annot8.api.settings.Settings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annot8-api Show documentation
Show all versions of annot8-api Show documentation
Core API interfaces for the Annot8 project
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */
package io.annot8.api.settings;
/**
* Base settings interface from which all other settings extend.
*
* An instance with default values should be constructed by a no args constructor.
*/
public interface Settings {
/**
* Check that the settings are sufficiently complete to allow them to be used.
*
*
You should log any errors in validation.
*
*
Validation will be ignored/superceded by more strict validation by the caller (for example,
* the caller might offer defaults if data is missing). However, the implementation should be
* sufficiently robust that the use of settings instance as-is would not cause null pointers or
* obvious errors.
*
* @return true is the settings are valid
*/
boolean validate();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy