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 Detail

      • getObject

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

        java.lang.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