com.gentics.contentnode.rest.model.response.migration
Class MigrationStatusResponse

java.lang.Object
  extended by com.gentics.contentnode.rest.model.response.GenericResponse
      extended by com.gentics.contentnode.rest.model.response.migration.MigrationStatusResponse

public class MigrationStatusResponse
extends GenericResponse

Response to request to check status of tag type migration

Author:
Taylor

Constructor Summary
MigrationStatusResponse()
          Constructor used by JAXB
MigrationStatusResponse(Message message, ResponseInfo responseInfo)
          Create an instance of the response with single message and response info
 
Method Summary
 int getJobId()
          Returns the jobId for the job which is currently being executed
 MigrationJobEntry getLatestJob()
          Returns the lastest job information
 Integer getPercentComplete()
          Returns the completion status for the job that is currently being executed
 int getStatus()
          Returns the status for the job that is currently being executed
 void setJobId(int jobId)
          Sets the job id for this response
 void setLatestJob(MigrationJobEntry latestJob)
          Sets the lastest job information for this response.
 void setPercentComplete(Integer percentComplete)
           
 void setStatus(int status)
          Sets the status for this response
 
Methods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 Detail

getPercentComplete

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

Returns:

setPercentComplete

public void setPercentComplete(Integer 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 -


Copyright © 2013 Gentics Software GmbH. All Rights Reserved.