Class MigrationStatusResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.migration.MigrationStatusResponse
- All Implemented Interfaces:
Serializable
Response to request to check status of tag type migration
- Author:
- Taylor
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor used by JAXBMigrationStatusResponse
(Message message, ResponseInfo responseInfo) Create an instance of the response with single message and response info -
Method Summary
Modifier and TypeMethodDescriptionint
getJobId()
Returns the jobId for the job which is currently being executedReturns the lastest job informationReturns the completion status for the job that is currently being executedint
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 responseMethods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
MigrationStatusResponse
public MigrationStatusResponse()Constructor used by JAXB -
MigrationStatusResponse
Create an instance of the response with single message and response info- Parameters:
message
- messageresponseInfo
- response info
-
-
Method Details
-
getPercentComplete
Returns the completion status for the job that is currently being executed- Returns:
-
setPercentComplete
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
Returns the lastest job information- Returns:
-
setLatestJob
Sets the lastest job information for this response.- Parameters:
latestJob
-
-