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 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 Details

    • FailedThumbnailInfo

      public FailedThumbnailInfo(String thumbnailDefinitionName, Date failureDate, int failureCount, NodeRef failedThumbnailNode)
      Deprecated.
  • Method Details

    • getThumbnailDefinitionName

      public String getThumbnailDefinitionName()
      Deprecated.
      Get the thumbnail definition name that 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 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 String toString()
      Deprecated.
      Overrides:
      toString in class Object