public class MigrationStatusResponse extends GenericResponse
Constructor and Description |
---|
MigrationStatusResponse()
Constructor used by JAXB
|
MigrationStatusResponse(Message message,
ResponseInfo responseInfo)
Create an instance of the response with single message and response info
|
Modifier and Type | Method and Description |
---|---|
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)
Set the progress completion information for this reponse
|
void |
setStatus(int status)
Sets the status for this response
|
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
public MigrationStatusResponse()
public MigrationStatusResponse(Message message, ResponseInfo responseInfo)
message
- messageresponseInfo
- response infopublic Integer getPercentComplete()
public void setPercentComplete(Integer percentComplete)
percentComplete
- public int getStatus()
public void setStatus(int status)
public int getJobId()
public void setJobId(int jobId)
jobId
- public MigrationJobEntry getLatestJob()
public void setLatestJob(MigrationJobEntry latestJob)
latestJob
- Copyright © 2024 Gentics Software. All rights reserved.