Package com.day.cq.dam.scene7.api.model
Class Scene7ConfigSetting
- java.lang.Object
-
- com.day.cq.dam.scene7.api.model.Scene7ConfigSetting
-
@Nonnull @ParametersAreNonnullByDefault public class Scene7ConfigSetting extends java.lang.Object
A viewer configuration setting
-
-
Constructor Summary
Constructors Constructor Description Scene7ConfigSetting(java.lang.String name, java.lang.String value, java.lang.String handle)
Create a new viewer preset
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHandle()
Retrieve the handle to the stored configurationjava.lang.String
getName()
Retrieve the name of the presetjava.lang.String
getValue()
Retrieve the value of the preset
-
-
-
Constructor Detail
-
Scene7ConfigSetting
public Scene7ConfigSetting(java.lang.String name, @Nullable java.lang.String value, @Nullable java.lang.String handle)
Create a new viewer preset- Parameters:
name
- name of the presetvalue
- (optional) value of the presethandle
- (optional) handle to the stored config
-
-
Method Detail
-
getName
public java.lang.String getName()
Retrieve the name of the preset- Returns:
- The preset name
-
getValue
@Nullable public java.lang.String getValue()
Retrieve the value of the preset- Returns:
- The preset value
-
getHandle
@Nullable public java.lang.String getHandle()
Retrieve the handle to the stored configuration- Returns:
- The optional handle value, might be
null
-
-