java.lang.Object
com.gentics.contentnode.rest.resource.impl.internal.JobProgress
All Implemented Interfaces:
Serializable

public class JobProgress extends Object implements Serializable
REST Model of the Job Progress
See Also:
  • Field Details

    • done

      protected int done
      Number of done total
    • total

      protected int total
      Number of total total
    • started

      protected int started
      Timestamp, when the job was started
    • finished

      protected int finished
      Timestamp, when the job was finished
  • Constructor Details

    • JobProgress

      public JobProgress()
  • Method Details

    • getDone

      public int getDone()
      Get done total
      Returns:
      done total
    • setDone

      public JobProgress setDone(int done)
      Set done total
      Parameters:
      done - done total
      Returns:
      fluent API
    • getTotal

      public int getTotal()
      Get total number of total
      Returns:
      total total
    • setTotal

      public JobProgress setTotal(int total)
      Set total number of total
      Parameters:
      total - total total
      Returns:
      fluent API
    • getStarted

      public int getStarted()
      Timestamp, when the job was started
      Returns:
      start timestamp
    • setStarted

      public JobProgress setStarted(int started)
      Set start timestamp
      Parameters:
      started - start timestamp
      Returns:
      fluent API
    • getFinished

      public int getFinished()
      Timestamp, when the job was finished
      Returns:
      finish timestamp
    • setFinished

      public JobProgress setFinished(int finished)
      Set finish timestamp
      Parameters:
      finished - timestamp
      Returns:
      fluent API
    • incDone

      public void incDone()
      Increase done counter by 1
    • incDone

      public void incDone(int delta)
      Increase done counter by delta
      Parameters:
      delta - delta