All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.annot8.api.settings.NoSettings Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
/* 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