- java.lang.Object
-
- io.annot8.core.settings.EmptySettings
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmptySettingsgetInstance()Get the instancebooleanvalidate()Check that the settings are sufficiently complete to allow them to be used.
-
-
-
Method Detail
-
getInstance
public static EmptySettings getInstance()
Get the instance- Returns:
- instance of empty settings
-
validate
public boolean validate()
Description copied from interface:SettingsCheck 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.
-
-