|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.infront.assembler.AssemblerSettings
public class AssemblerSettings
Used to configure an Assembler
.
Field Summary | |
---|---|
static String |
PREVIEW_MODULE_URL
Key for storing preview URL on content items output by the Assembler . |
Constructor Summary | |
---|---|
AssemblerSettings()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PREVIEW_MODULE_URL
Assembler
.
Constructor Detail |
---|
public AssemblerSettings()
Method Detail |
---|
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)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |