public abstract class LazyRendition extends AbstractRendition implements Rendition
Rendition
interface that allows lazy computation of the rendition BlobsModifier and Type | Field and Description |
---|---|
protected List<Blob> |
blobs |
static String |
EMPTY_MARKER |
static String |
ERROR_MARKER |
static String |
IN_PROGRESS_MARKER |
static String |
STALE_MARKER |
definition, log
Constructor and Description |
---|
LazyRendition(RenditionDefinition definition) |
Modifier and Type | Method and Description |
---|---|
protected abstract List<Blob> |
computeRenditionBlobs() |
Blob |
getBlob()
Returns rendered Blob
|
List<Blob> |
getBlobs()
Returns rendered Blobs
|
boolean |
isCompleted()
Checks if this rendition's computation has completed.
|
getCmisName, getDefinition, getIcon, getKind, getLabel, getModificationDate, getName, getProviderType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCmisName, getHostDocument, getIcon, getKind, getLabel, getModificationDate, getName, getProviderType, isStored
public static final String EMPTY_MARKER
public static final String ERROR_MARKER
public static final String STALE_MARKER
public static final String IN_PROGRESS_MARKER
public LazyRendition(RenditionDefinition definition)
public List<Blob> getBlobs()
Rendition
public boolean isCompleted()
Rendition
isCompleted
in interface Rendition
protected abstract List<Blob> computeRenditionBlobs()
Copyright © 2018 Nuxeo. All rights reserved.