Interface ControlsKitFilter

All Known Implementing Classes:
ControlsKitWhiteListFilter, DefaultControlsKitFilter

public interface ControlsKitFilter
Filter interface to implement a filter class able to restrict the serialization output of RenderControlsJsonSerializer.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    allows(SettingsNames settingsName)
    Checks if a setting should be included in the serialized output.
  • Method Details

    • allows

      boolean allows(SettingsNames settingsName)
      Checks if a setting should be included in the serialized output.
      Parameters:
      settingsName - name of the Setting.
      Returns:
      whether the setting should be allowed in the output.