Interface ObjectSetting<T>

Type Parameters:
T - the type of the value of this setting, this value has to be JSON serializable
All Superinterfaces:
VisibilitySetting

public interface ObjectSetting<T> extends VisibilitySetting
Settings with an arbitrary value.
Since:
5.0
  • Method Details

    • getObject

      T getObject(String value)
      Convert the value String to the actual type
      Parameters:
      value - as String
      Returns:
      value as actual type T
      Since:
      5.0
    • getAsString

      String getAsString(T value)
      Convert the value to String
      Parameters:
      value - a value for this SettingTyp
      Returns:
      value as String for storing
      Since:
      5.0