Class MigrationStatusResponse

java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.migration.MigrationStatusResponse
All Implemented Interfaces:
Serializable

public class MigrationStatusResponse extends GenericResponse
Response to request to check status of tag type migration
Author:
Taylor
See Also:
  • Constructor Details

    • MigrationStatusResponse

      public MigrationStatusResponse()
      Constructor used by JAXB
    • MigrationStatusResponse

      public MigrationStatusResponse(Message message, ResponseInfo responseInfo)
      Create an instance of the response with single message and response info
      Parameters:
      message - message
      responseInfo - response info
  • Method Details

    • getPercentComplete

      public Integer getPercentComplete()
      Returns the completion status for the job that is currently being executed
      Returns:
    • setPercentComplete

      public void setPercentComplete(Integer percentComplete)
      Set the progress completion information for this reponse
      Parameters:
      percentComplete -
    • getStatus

      public int getStatus()
      Returns the status for the job that is currently being executed
      Returns:
    • setStatus

      public void setStatus(int status)
      Sets the status for this response
    • getJobId

      public int getJobId()
      Returns the jobId for the job which is currently being executed
      Returns:
    • setJobId

      public void setJobId(int jobId)
      Sets the job id for this response
      Parameters:
      jobId -
    • getLatestJob

      public MigrationJobEntry getLatestJob()
      Returns the lastest job information
      Returns:
    • setLatestJob

      public void setLatestJob(MigrationJobEntry latestJob)
      Sets the lastest job information for this response.
      Parameters:
      latestJob -