|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.migration.MigrationResponse
public class MigrationResponse
The MigrationResponse
is returned when a migration job is invoked or reinvoked. It contains the jobId and message information.
Constructor Summary | |
---|---|
MigrationResponse()
Constructor used by JAXB |
|
MigrationResponse(java.util.List<Message> messages,
ResponseInfo responseInfo)
Create an instance of the response with a list of messages and response info |
|
MigrationResponse(Message message,
ResponseInfo responseInfo)
Create an instance of the response with a single message and response info |
|
MigrationResponse(ResponseInfo responseInfo)
Create an instance of the response with response info |
Method Summary | |
---|---|
void |
addMessage(Message message)
Add a new message to the list of messages |
int |
getJobId()
Returns the job id for this reponse |
java.util.List<Message> |
getMessages()
Return the list of messages |
ResponseInfo |
getResponseInfo()
Return the reponse info |
void |
setJobId(int jobId)
Set the job id for this reponse |
void |
setMessages(java.util.List<Message> messages)
Set the list of messages |
void |
setResponseInfo(ResponseInfo responseInfo)
Set the reponse info |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MigrationResponse()
public MigrationResponse(ResponseInfo responseInfo)
responseInfo
- response infopublic MigrationResponse(Message message, ResponseInfo responseInfo)
message
- messageresponseInfo
- response infopublic MigrationResponse(java.util.List<Message> messages, ResponseInfo responseInfo)
message
- messageresponseInfo
- response infoMethod Detail |
---|
public java.util.List<Message> getMessages()
getMessages
in class GenericResponse
public void addMessage(Message message)
addMessage
in class GenericResponse
public void setMessages(java.util.List<Message> messages)
setMessages
in class GenericResponse
public ResponseInfo getResponseInfo()
getResponseInfo
in class GenericResponse
public void setResponseInfo(ResponseInfo responseInfo)
setResponseInfo
in class GenericResponse
public int getJobId()
public void setJobId(int jobId)
jobId
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |