public class ChannelsByServerImportResponse extends Object
Response object for the "import channel configuration" function of the web-service API.
This object is primarily intended to facilitate the JSON serialization of the data provided by the API controller. For this reason, it does not perform any checks on the parameters used to construct the object.
| Constructor and Description |
|---|
ChannelsByServerImportResponse(Map<String,String> addOrUpdateFailed,
Set<String> addOrUpdateSucceeded,
String errorMessage,
Map<String,String> removeFailed,
Set<String> removeSucceeded)
Creates a new response.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Map<String,String> |
getAddOrUpdateFailed()
Returns the channels for which an add or update operation failed.
|
Set<String> |
getAddOrUpdateSucceeded()
Returns the channels for which an add or update operation succeeded.
|
String |
getErrorMessage()
Returns the error message indicating a global error (an error that
happened before changed where made to the configuration).
|
Map<String,String> |
getRemoveFailed()
Returns the channels for which a remove operation failed.
|
Set<String> |
getRemoveSucceeded()
Returns the channels for which a remove operation succeeded.
|
int |
hashCode() |
String |
toString() |
public ChannelsByServerImportResponse(Map<String,String> addOrUpdateFailed, Set<String> addOrUpdateSucceeded, String errorMessage, Map<String,String> removeFailed, Set<String> removeSucceeded)
addOrUpdateFailed - channels for which an add or update operation failed. The keys
are the channel names and the values are the respective error
messages. null if running in simulation mode or
if there is a global error.addOrUpdateSucceeded - channels for which an add or update operation succeeded.
null if there is a global error.errorMessage - error message indicating a global error (an error that
happened before changes where made to the configuration).
null if there is no global error (there might
still be errors for individual channels).removeFailed - channels for which a remove operation failed. The keys are the
channel names and the values are the respective error
messages. null if running in simulation mode or
if there is a global error.removeSucceeded - channels for which a remove operation succeeded.
null if there is a global error.public Map<String,String> getAddOrUpdateFailed()
null if running in simulation mode or if there is
a global error.public Set<String> getAddOrUpdateSucceeded()
null if there is a global error.public String getErrorMessage()
null if there is no global error (there might still be
errors for individual channels).public Map<String,String> getRemoveFailed()
null if running in simulation mode or if there is a global
error.public Set<String> getRemoveSucceeded()
null if there is a global error.Copyright © 2011–2017 aquenos GmbH. All rights reserved.