Class Scene7ConfigSetting

java.lang.Object
com.day.cq.dam.scene7.api.model.Scene7ConfigSetting

public class Scene7ConfigSetting extends Object
A viewer configuration setting Return values and parameters are @NotNull by default.
  • Constructor Details

    • Scene7ConfigSetting

      public Scene7ConfigSetting(String name, @Nullable @Nullable String value, @Nullable @Nullable String handle)
      Create a new viewer preset
      Parameters:
      name - name of the preset
      value - (optional) value of the preset
      handle - (optional) handle to the stored config
  • Method Details

    • getName

      public String getName()
      Retrieve the name of the preset
      Returns:
      The preset name
    • getValue

      @Nullable public @Nullable String getValue()
      Retrieve the value of the preset
      Returns:
      The preset value
    • getHandle

      @Nullable public @Nullable String getHandle()
      Retrieve the handle to the stored configuration
      Returns:
      The optional handle value, might be null