Package com.day.cq.dam.scene7.api.model
Class Scene7ConfigSetting
- java.lang.Object
-
- com.day.cq.dam.scene7.api.model.Scene7ConfigSetting
-
public class Scene7ConfigSetting extends java.lang.Object
A viewer configuration setting Return values and parameters are @NotNull by default.
-
-
Constructor Summary
Constructors Constructor Description Scene7ConfigSetting(java.lang.String name, @Nullable java.lang.String value, @Nullable java.lang.String handle)
Create a new viewer preset
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.String
getHandle()
Retrieve the handle to the stored configurationjava.lang.String
getName()
Retrieve the name of the preset@Nullable java.lang.String
getValue()
Retrieve the value of the preset
-
-
-
Constructor Detail
-
Scene7ConfigSetting
public Scene7ConfigSetting(java.lang.String name, @Nullable @Nullable java.lang.String value, @Nullable @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 @Nullable java.lang.String getValue()
Retrieve the value of the preset- Returns:
- The preset value
-
getHandle
@Nullable public @Nullable java.lang.String getHandle()
Retrieve the handle to the stored configuration- Returns:
- The optional handle value, might be
null
-
-