Class FailedThumbnailInfo
- java.lang.Object
-
- org.alfresco.service.cmr.thumbnail.FailedThumbnailInfo
-
@Deprecated public class FailedThumbnailInfo extends Object
Deprecated.We are introducing the new async RenditionService2.A simple pojo to hold data related to afailed thumbnail attempt. A failed thumbnail attempt is whencreate-thumbnailhas 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.- Since:
- 3.5.0
- Author:
- Neil Mc Erlean
-
-
Constructor Summary
Constructors Constructor Description FailedThumbnailInfo(String thumbnailDefinitionName, Date failureDate, int failureCount, NodeRef failedThumbnailNode)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description NodeRefgetFailedThumbnailNode()Deprecated.Get theNodeRefof thefailedThumbnailnode.intgetFailureCount()Deprecated.Get the total number of failed attempts which have been made to produce a thumbnail.DategetMostRecentFailure()Deprecated.Get the time of the most recent failure.StringgetThumbnailDefinitionName()Deprecated.Get thethumbnail definition namethat has failed.StringtoString()Deprecated.
-
-
-
Method Detail
-
getThumbnailDefinitionName
public String getThumbnailDefinitionName()
Deprecated.Get thethumbnail definition namethat has failed.
-
getMostRecentFailure
public Date getMostRecentFailure()
Deprecated.Get the time of the most recent failure.
-
getFailureCount
public int getFailureCount()
Deprecated.Get the total number of failed attempts which have been made to produce a thumbnail.- Returns:
- int
-
getFailedThumbnailNode
public NodeRef getFailedThumbnailNode()
Deprecated.Get theNodeRefof thefailedThumbnailnode. Note that this is not the NodeRef which was not thumbnailed - that will be the primary parent of this node.
-
-