org.rhq.enterprise.communications.command.impl.generic
Class GenericCommandResponse

java.lang.Object
  extended by org.rhq.enterprise.communications.command.AbstractCommandResponse
      extended by org.rhq.enterprise.communications.command.impl.generic.GenericCommandResponse
All Implemented Interfaces:
Serializable, CommandResponse

public class GenericCommandResponse
extends AbstractCommandResponse

Provides a concrete implementation of the 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.

Author:
John Mazzitelli
See Also:
Serialized Form

Constructor Summary
GenericCommandResponse(Command command)
          Constructor for GenericCommandResponse.
GenericCommandResponse(Command command, boolean success, Object results, Throwable exception)
          Constructor for GenericCommandResponse.
GenericCommandResponse(CommandResponse responseToTransform)
          Constructor for GenericCommandResponse.
 
Method Summary
 
Methods inherited from class org.rhq.enterprise.communications.command.AbstractCommandResponse
getCommand, getException, getResults, isSuccessful, setCommand, setException, setResults, setSuccessful, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericCommandResponse

public GenericCommandResponse(Command command)
Constructor for GenericCommandResponse.

See Also:
AbstractCommandResponse.AbstractCommandResponse(Command)

GenericCommandResponse

public GenericCommandResponse(Command command,
                              boolean success,
                              Object results,
                              Throwable exception)
Constructor for GenericCommandResponse.

See Also:
AbstractCommandResponse.AbstractCommandResponse(Command, boolean, Object, Throwable)

GenericCommandResponse

public GenericCommandResponse(CommandResponse responseToTransform)
Constructor for GenericCommandResponse.

See Also:
AbstractCommandResponse.AbstractCommandResponse(CommandResponse)


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.