public class GenericCommandResponse extends AbstractCommandResponse
base command response object. This class
does not define any strongly typed methods to extract specific data from the
results object since this class represents a generic command response
from an unknown, custom command.| Constructor and Description |
|---|
GenericCommandResponse(Command command)
Constructor for
GenericCommandResponse. |
GenericCommandResponse(Command command,
boolean success,
Object results,
Throwable exception)
Constructor for
GenericCommandResponse. |
GenericCommandResponse(CommandResponse responseToTransform)
Constructor for
GenericCommandResponse. |
getCommand, getException, getResults, isSuccessful, setCommand, setException, setResults, setSuccessful, toStringpublic GenericCommandResponse(Command command)
GenericCommandResponse.public GenericCommandResponse(Command command, boolean success, Object results, Throwable exception)
GenericCommandResponse.public GenericCommandResponse(CommandResponse responseToTransform)
GenericCommandResponse.Copyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.