public final class RunArchiveConfigurationCommandsRequest extends Object
Request that shall be processed by the
ArchiveConfigurationService.runConfigurationCommands(Iterable)
method. Such requests are processed by the ApiController and
forwarded to the ArchiveConfigurationService.
This request object is a simple wrapper around a list of
ArchiveConfigurationCommands. However, it is needed because
serialization and deserialization of a generic list to and from JSON does not
always work correctly unless complete type information is available.
RunArchiveConfigurationCommandsResponse| Constructor and Description |
|---|
RunArchiveConfigurationCommandsRequest(List<? extends ArchiveConfigurationCommand> commands)
Creates a request.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<ArchiveConfigurationCommand> |
getCommands()
Returns the commands that shall be run by the
ArchiveConfigurationService.runConfigurationCommands(Iterable)
method. |
int |
hashCode() |
String |
toString() |
public RunArchiveConfigurationCommandsRequest(List<? extends ArchiveConfigurationCommand> commands)
commands - commands to be run by the
ArchiveConfigurationService.runConfigurationCommands(Iterable)
method.NullPointerException - if commands is null or contains
null elements.public List<ArchiveConfigurationCommand> getCommands()
ArchiveConfigurationService.runConfigurationCommands(Iterable)
method.Copyright © 2011–2017 aquenos GmbH. All rights reserved.