org.hippoecm.hst.site.request
Class MountDecoratorImpl
java.lang.Object
org.hippoecm.hst.site.request.MountDecoratorImpl
- All Implemented Interfaces:
- MountDecorator
public class MountDecoratorImpl
- extends Object
- implements MountDecorator
Field Summary |
protected static org.slf4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.slf4j.Logger log
MountDecoratorImpl
public MountDecoratorImpl()
decorateMountAsPreview
public ContextualizableMount decorateMountAsPreview(ContextualizableMount mount)
- Description copied from interface:
MountDecorator
- This method decorates the
mount
to a preview Mount
. If the mount
in the argument is already a preview mount according Mount.isPreview()
,
then the mount
from the argument is returned without decorating it.
- Specified by:
decorateMountAsPreview
in interface MountDecorator
- Parameters:
mount
- the mount to decorate
- Returns:
- the decorated
Mount
Copyright © 2008-2012 Hippo. All Rights Reserved.