Class FailedThumbnailInfo


  • @Deprecated
    public class FailedThumbnailInfo
    extends java.lang.Object
    Deprecated.
    We are introducing the new async RenditionService2.
    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.
    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.
       
    • Constructor Detail

      • FailedThumbnailInfo

        public FailedThumbnailInfo​(java.lang.String thumbnailDefinitionName,
                                   java.util.Date failureDate,
                                   int failureCount,
                                   org.alfresco.service.cmr.repository.NodeRef failedThumbnailNode)
        Deprecated.
    • Method Detail

      • getThumbnailDefinitionName

        public java.lang.String getThumbnailDefinitionName()
        Deprecated.
        Get the thumbnail definition name that 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 the 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.
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object