public class FailedThumbnailInfo extends Object
failed thumbnail attempt
.
A failed thumbnail attempt is when create-thumbnail
has been used
to produce a thumbnail for content and that action has thrown an exception.
If a thumbnail was not attempted (e.g. due to unavailability of transformers) this is not a failure in this context.Constructor and Description |
---|
FailedThumbnailInfo(String thumbnailDefinitionName,
Date failureDate,
int failureCount,
org.alfresco.service.cmr.repository.NodeRef failedThumbnailNode) |
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.repository.NodeRef |
getFailedThumbnailNode()
Get the
NodeRef of the failedThumbnail node. |
int |
getFailureCount()
Get the total number of failed attempts which have been made to produce a thumbnail.
|
Date |
getMostRecentFailure()
Get the time of the most recent failure.
|
String |
getThumbnailDefinitionName()
Get the
thumbnail definition name that has failed. |
String |
toString() |
public String getThumbnailDefinitionName()
thumbnail definition name
that has failed.public Date getMostRecentFailure()
public int getFailureCount()
public org.alfresco.service.cmr.repository.NodeRef getFailedThumbnailNode()
NodeRef
of the failedThumbnail
node.
Note that this is not the NodeRef which was not thumbnailed - that will be the primary parent of
this node.Copyright © 2005–2017 Alfresco Software. All rights reserved.