Modifier and Type | Field and Description |
---|---|
static String |
PREVIEW_MODULE_URL
Key for storing preview URL on content items output by the
Assembler . |
Constructor and Description |
---|
AssemblerSettings() |
Modifier and Type | Method and Description |
---|---|
List<com.endeca.infront.assembler.support.AssemblerResponseDecorator> |
getAssemblerResponseDecorators() |
String |
getPreviewModuleUrl()
Returns the preview module URL, for use when preview is enabled.
|
boolean |
isAuditEnabled()
Returns whether or not audit contents should be retrieved.
|
boolean |
isPreviewEnabled() |
void |
setPreviewEnabled(boolean previewEnabled)
Sets whether or not preview should be enabled.
|
void |
setPreviewModuleUrl(String previewUrl)
Sets the preview module URL.
|
public static final String PREVIEW_MODULE_URL
Assembler
.public boolean isPreviewEnabled()
public void setPreviewEnabled(boolean previewEnabled)
previewEnabled
- whether preview should be enabledpublic String getPreviewModuleUrl()
isPreviewEnabled()
returns false.isPreviewEnabled()
before calling this method.IllegalStateException
- if this method is called when preview is disabled.public void setPreviewModuleUrl(String previewUrl)
previewUrl
- the new preview module URLpublic boolean isAuditEnabled()
isPreviewEnabled()
(audit contents are enabled when and
only when preview is enabled). In the future, this property may be separately configurable.public List<com.endeca.infront.assembler.support.AssemblerResponseDecorator> getAssemblerResponseDecorators()
Assembler.assemble(ContentItem)
.Copyright © 2015, Oracle and/or its affiliates. All rights reserved.