java.lang.Object
com.gentics.contentnode.rest.model.response.scheduler.JobStatus

public class JobStatus extends Object
Model of the status of a scheduler job
  • Field Details

    • id

      protected int id
    • start

      protected int start
    • end

      protected int end
    • returnValue

      protected int returnValue
    • name

      protected String name
    • active

      protected boolean active
  • Constructor Details

    • JobStatus

      public JobStatus()
  • Method Details

    • getId

      public int getId()
      Job ID
      Returns:
      ID
    • setId

      public JobStatus setId(int id)
      Set the Job ID
      Parameters:
      id - ID
      Returns:
      fluent API
    • getStart

      public int getStart()
      Timestamp of the job start
      Returns:
      timestamp
    • setStart

      public JobStatus setStart(int start)
      Set start timestamp
      Parameters:
      start - timestamp
      Returns:
      fluent API
    • getEnd

      public int getEnd()
      Timestamp of the job end
      Returns:
      timestamp
    • setEnd

      public JobStatus setEnd(int end)
      Set end timestamp
      Parameters:
      end - timestamp
      Returns:
      fluent API
    • getReturnValue

      public int getReturnValue()
      Return value of the job execution
      Returns:
      return value
    • setReturnValue

      public JobStatus setReturnValue(int returnValue)
      Set return value
      Parameters:
      returnValue - return value
      Returns:
      fluent API
    • getName

      public String getName()
      Job Name
      Returns:
      name
    • setName

      public JobStatus setName(String name)
      Set the job name
      Parameters:
      name - name
      Returns:
      fluent API
    • isActive

      public boolean isActive()
      True, when the job is currently active (eligible for execution)
      Returns:
      active flag
    • setActive

      public JobStatus setActive(boolean active)
      Set active flag
      Parameters:
      active - flag
      Returns:
      fluent API