|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.service.cmr.thumbnail.FailedThumbnailInfo
public class FailedThumbnailInfo
A simple pojo to hold data related to a 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 Summary | |
---|---|
FailedThumbnailInfo(java.lang.String thumbnailDefinitionName,
java.util.Date failureDate,
int failureCount,
org.alfresco.service.cmr.repository.NodeRef failedThumbnailNode)
|
Method Summary | |
---|---|
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. |
java.util.Date |
getMostRecentFailure()
Get the time of the most recent failure. |
java.lang.String |
getThumbnailDefinitionName()
Get the thumbnail definition name that has failed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FailedThumbnailInfo(java.lang.String thumbnailDefinitionName, java.util.Date failureDate, int failureCount, org.alfresco.service.cmr.repository.NodeRef failedThumbnailNode)
Method Detail |
---|
public java.lang.String getThumbnailDefinitionName()
thumbnail definition name
that has failed.
public java.util.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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |