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

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

public class DeployPackagesResponse
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
DeployPackagesResponse()
           
DeployPackagesResponse(ContentResponseResult overallRequestResult)
           
 
Method Summary
 void addPackageResponse(DeployIndividualPackageResponse response)
           
 String getOverallRequestErrorMessage()
           
 ContentResponseResult getOverallRequestResult()
           
 Set<DeployIndividualPackageResponse> 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployPackagesResponse

public DeployPackagesResponse()

DeployPackagesResponse

public DeployPackagesResponse(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<DeployIndividualPackageResponse> getPackageResponses()

addPackageResponse

public void addPackageResponse(DeployIndividualPackageResponse 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)


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