Class DatasourceLoadResponse
java.lang.Object
com.gentics.contentnode.rest.model.response.GenericResponse
com.gentics.contentnode.rest.model.response.DatasourceLoadResponse
- All Implemented Interfaces:
Serializable
Response for a datasource load request.
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate empty instanceDatasourceLoadResponse
(ResponseInfo responseInfo, Datasource datasource) Create instance with response info and datasource -
Method Summary
Modifier and TypeMethodDescriptionDatasourcevoid
setDatasource
(Datasource datasource) Set datasourceMethods inherited from class com.gentics.contentnode.rest.model.response.GenericResponse
addMessage, getMessages, getResponseInfo, setMessages, setResponseInfo
-
Constructor Details
-
DatasourceLoadResponse
public DatasourceLoadResponse()Create empty instance -
DatasourceLoadResponse
Create instance with response info and datasource- Parameters:
responseInfo
- response infodatasource
- datasource
-
-
Method Details
-
getDatasource
Datasource- Returns:
- datasource
-
setDatasource
Set datasource- Parameters:
datasource
- datasource
-