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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MigrationStatusResponse()
Constructor used by JAXBMigrationStatusResponse(Message message, ResponseInfo responseInfo)
Create an instance of the response with single message and response info
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getJobId()
Returns the jobId for the job which is currently being executedMigrationJobEntry
getLatestJob()
Returns the lastest job informationInteger
getPercentComplete()
Returns the completion status for the job that is currently being executedint
getStatus()
Returns the status for the job that is currently being executedvoid
setJobId(int jobId)
Sets the job id for this responsevoid
setLatestJob(MigrationJobEntry latestJob)
Sets the lastest job information for this response.void
setPercentComplete(Integer percentComplete)
Set the progress completion information for this reponsevoid
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
-
-
-
-
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
- messageresponseInfo
- 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)
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
-
-
-