Class SolrCommandBackupResult
java.lang.Object
org.alfresco.repo.search.impl.AbstractJSONAPIResult
org.alfresco.repo.search.impl.solr.SolrCommandBackupResult
- All Implemented Interfaces:
JSONAPIResult
The results of executing a SOLR BACKUP command
- Since:
- 6.2
- Author:
- aborroy
-
Field Summary
Fields inherited from class org.alfresco.repo.search.impl.AbstractJSONAPIResult
cores, coresInfo, queryTime, status -
Constructor Summary
ConstructorsConstructorDescriptionSolrCommandBackupResult(org.json.JSONObject json) Parses the JSON to create a new result object -
Method Summary
Modifier and TypeMethodDescriptionTime to perform the requested action or command in SOLRHTTP Response code But for 200, that is being returned as 0protected voidprocessCoresInfoJson(org.json.JSONObject json) Parses the JSON to set this Java Object values related to Core InformationMethods inherited from class org.alfresco.repo.search.impl.AbstractJSONAPIResult
getCores, getCoresInfo, getPropertyValueMap, processJson
-
Constructor Details
-
SolrCommandBackupResult
public SolrCommandBackupResult(org.json.JSONObject json) Parses the JSON to create a new result object- Parameters:
json- JSONObject returned by SOLR API
-
-
Method Details
-
processCoresInfoJson
protected void processCoresInfoJson(org.json.JSONObject json) throws org.json.JSONException Description copied from class:AbstractJSONAPIResultParses the JSON to set this Java Object values related to Core Information- Specified by:
processCoresInfoJsonin classAbstractJSONAPIResult- Parameters:
json- JSONObject returned by SOLR API- Throws:
org.json.JSONException
-
getStatus
Description copied from interface:JSONAPIResultHTTP Response code But for 200, that is being returned as 0- Specified by:
getStatusin interfaceJSONAPIResult- Overrides:
getStatusin classAbstractJSONAPIResult- Returns:
- Number representing an HTTP Status
-
getQueryTime
Description copied from interface:JSONAPIResultTime to perform the requested action or command in SOLR- Specified by:
getQueryTimein interfaceJSONAPIResult- Overrides:
getQueryTimein classAbstractJSONAPIResult- Returns:
- Number of milliseconds
-