Class FailedThumbnailInfo
- java.lang.Object
-
- org.alfresco.service.cmr.thumbnail.FailedThumbnailInfo
-
@Deprecated public class FailedThumbnailInfo extends java.lang.ObjectDeprecated.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(java.lang.String thumbnailDefinitionName, java.util.Date failureDate, int failureCount, org.alfresco.service.cmr.repository.NodeRef failedThumbnailNode)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.alfresco.service.cmr.repository.NodeRefgetFailedThumbnailNode()Deprecated.Get theNodeRefof thefailedThumbnailnode.intgetFailureCount()Deprecated.Get the total number of failed attempts which have been made to produce a thumbnail.java.util.DategetMostRecentFailure()Deprecated.Get the time of the most recent failure.java.lang.StringgetThumbnailDefinitionName()Deprecated.Get thethumbnail definition namethat has failed.java.lang.StringtoString()Deprecated.
-
-
-
Method Detail
-
getThumbnailDefinitionName
public java.lang.String getThumbnailDefinitionName()
Deprecated.Get thethumbnail definition namethat has failed.
-
getMostRecentFailure
public java.util.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 org.alfresco.service.cmr.repository.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.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-