Class RemoteBackgroundJob


  • public class RemoteBackgroundJob
    extends Object
    Wrapper of BackgroundJob
    Author:
    Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
    • Constructor Detail

      • RemoteBackgroundJob

        public RemoteBackgroundJob​(long id,
                                   String jobTag,
                                   int progress,
                                   boolean allowConcurrence,
                                   String status,
                                   Date startTime,
                                   Date endTime)
    • Method Detail

      • getId

        public long getId()
      • setId

        public void setId​(long id)
      • getJobTag

        public String getJobTag()
      • setJobTag

        public void setJobTag​(String jobTag)
      • getProgress

        public int getProgress()
      • setProgress

        public void setProgress​(int progress)
      • isAllowConcurrence

        public boolean isAllowConcurrence()
      • setAllowConcurrence

        public void setAllowConcurrence​(boolean allowConcurrence)
      • getStatus

        public String getStatus()
      • setStatus

        public void setStatus​(String status)
      • getJobResult

        public Object getJobResult()
      • setJobResult

        public void setJobResult​(Object jobResult)
      • getStartTime

        public long getStartTime()
      • setStartTime

        public void setStartTime​(Date startTime)
      • getEndTime

        public long getEndTime()
      • setEndTime

        public void setEndTime​(Date endTime)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object