Class FileProcessingLog

java.lang.Object
com.jalios.jstore.BasicStorable
com.jalios.jcms.Data
com.jalios.jcms.fileprocessor.processingmanagement.FileProcessingLog
All Implemented Interfaces:
DBData, JcmsConstants, ImportConstants, MashupConstants, Storable, JaliosConstants, LangPropertyArgument, Serializable, Cloneable, Comparable<BasicStorable>

public class FileProcessingLog extends Data implements DBData
See Also:
  • Constructor Details

    • FileProcessingLog

      public FileProcessingLog()
  • Method Details

    • getUrid

      public String getUrid()
      Description copied from class: BasicStorable
      Returns the URID where this Storable has been created (ie return the urid of this id). Return an empty String, if id is null
      Overrides:
      getUrid in class BasicStorable
      Returns:
      the URID where this Storable has been created
    • setUrid

      public void setUrid(String urid)
    • getRepository

      public String getRepository()
    • setRepository

      public void setRepository(String repository)
    • getDuration

      public long getDuration()
    • setDuration

      public void setDuration(long duration)
    • getFilename

      public String getFilename()
    • setFilename

      public void setFilename(String filename)
    • getComponent

      public String getComponent()
    • setComponent

      public void setComponent(String component)
    • getProcessingTypeEnum

      public ProcessingType getProcessingTypeEnum()
    • setProcessingType

      public void setProcessingType(ProcessingType type)
    • getProcessingType

      public int getProcessingType()
    • setProcessingType

      public void setProcessingType(int type)
    • getMessage

      public String getMessage()
    • setMessage

      public void setMessage(String message)
    • getStatusEnum

      public ProcessingStatus getStatusEnum()
    • setStatus

      public void setStatus(ProcessingStatus status)
    • getStatus

      public int getStatus()
    • setStatus

      public void setStatus(int status)
    • setUdate

      public void setUdate(Date udate)
      Set the date of last major update.
      Parameters:
      udate - the date
    • getUdate

      public Date getUdate()
      Returns the date of last major update.
      Returns:
      the date of last major update.
    • setAttempt

      public void setAttempt(Integer attempt)
      Set the number of attempt performed for this processing
      Parameters:
      attempt - a number
      Since:
      JCMS-5445
    • getAttempt

      public int getAttempt()
      Returns the number of attempt performed to reach this processing state.
      Returns:
      a number of attempt
      Since:
      JCMS-5445
    • incrementAttempt

      public void incrementAttempt()
      Increment (by one) the number of attempt performed.
      Since:
      JCMS-5445
    • logTrace

      public void logTrace()
      Add trace level loggin with all details regarding this FileProcessingLog.