org.rhq.core.domain.content.transfer
Class RemovePackagesResponse

java.lang.Object
  extended by org.rhq.core.domain.content.transfer.RemovePackagesResponse
All Implemented Interfaces:
Serializable

public class RemovePackagesResponse
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
RemovePackagesResponse()
           
RemovePackagesResponse(ContentResponseResult overallRequestResult)
           
 
Method Summary
 void addPackageResponse(RemoveIndividualPackageResponse response)
           
 String getOverallRequestErrorMessage()
           
 ContentResponseResult getOverallRequestResult()
           
 Set<RemoveIndividualPackageResponse> getPackageResponses()
           
 int getRequestId()
           
 void setErrorMessageFromThrowable(Throwable t)
          Convienence method that sets the error message to the given throwable's stack trace dump.
 void setOverallRequestErrorMessage(String overallRequestErrorMessage)
           
 void setOverallRequestResult(ContentResponseResult overallRequestResult)
           
 void setRequestId(int requestId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemovePackagesResponse

public RemovePackagesResponse()

RemovePackagesResponse

public RemovePackagesResponse(ContentResponseResult overallRequestResult)
Method Detail

getRequestId

public int getRequestId()

setRequestId

public void setRequestId(int requestId)

getOverallRequestResult

public ContentResponseResult getOverallRequestResult()

setOverallRequestResult

public void setOverallRequestResult(ContentResponseResult overallRequestResult)

getOverallRequestErrorMessage

public String getOverallRequestErrorMessage()

setOverallRequestErrorMessage

public void setOverallRequestErrorMessage(String overallRequestErrorMessage)

getPackageResponses

public Set<RemoveIndividualPackageResponse> getPackageResponses()

addPackageResponse

public void addPackageResponse(RemoveIndividualPackageResponse response)

setErrorMessageFromThrowable

public void setErrorMessageFromThrowable(Throwable t)
Convienence method that sets the error message to the given throwable's stack trace dump. If the given throwable is null, the error message will be set to null as if passing null to setOverallRequestErrorMessage(String).

Parameters:
t - throwable whose message and stack trace will make up the error message (may be null)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.