io.annot8.api.settings.NoSettings 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;
/** An empty Settings class. */
public final class NoSettings implements Settings {
private static final NoSettings INSTANCE = new NoSettings();
private NoSettings() {
// No public constructor for singleton
}
/**
* Get the instance
*
* @return instance of empty settings
*/
public static NoSettings getInstance() {
return INSTANCE;
}
@Override
public boolean validate() {
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy