Class ProgressMonitorStatus


  • public class ProgressMonitorStatus
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ProgressObserver addObserver​(java.lang.String fieldName, java.lang.String fileName)  
      protected com.jalios.jcms.upload.ProgressMonitorStatus.ProgressMonitorObserver findObserver​(java.lang.String fieldName, java.lang.String fileName)
      Retrive the observer matching given criteria.
      java.util.Map<java.lang.String,​java.lang.String> getStatus()  
      java.util.Map<java.lang.String,​java.lang.String> getStatus​(java.lang.String fieldName)  
      java.util.Map<java.lang.String,​java.lang.String> getStatus​(java.lang.String fieldName, java.lang.String fileName)  
      void setError​(java.lang.String message)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProgressMonitorStatus

        public ProgressMonitorStatus​(long contentLength)
    • Method Detail

      • addObserver

        public ProgressObserver addObserver​(java.lang.String fieldName,
                                            java.lang.String fileName)
      • getStatus

        public java.util.Map<java.lang.String,​java.lang.String> getStatus()
      • getStatus

        public java.util.Map<java.lang.String,​java.lang.String> getStatus​(java.lang.String fieldName)
      • getStatus

        public java.util.Map<java.lang.String,​java.lang.String> getStatus​(java.lang.String fieldName,
                                                                                java.lang.String fileName)
      • setError

        public void setError​(java.lang.String message)
      • findObserver

        protected com.jalios.jcms.upload.ProgressMonitorStatus.ProgressMonitorObserver findObserver​(java.lang.String fieldName,
                                                                                                    java.lang.String fileName)
        Retrive the observer matching given criteria. Criteria can be null
        Parameters:
        fieldName -
        fileName -
        Returns:
        ProgressMonitorObserver