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

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

public class DeployIndividualPackageResponse
extends Object
implements Serializable

Contains the data necessary to describe the result of deploying a single package. The overall result of the package installation and any error message (if there is one) will convey whether or not the package was successfully installed. Additionally, if installation steps were determined for this package, they and their respective success/failure flags, will be contained in this object as well.

See Also:
Serialized Form

Constructor Summary
DeployIndividualPackageResponse(PackageDetailsKey key)
           
DeployIndividualPackageResponse(PackageDetailsKey key, ContentResponseResult result)
           
 
Method Summary
 void addDeploymentStep(DeployPackageStep step)
           
 List<DeployPackageStep> getDeploymentSteps()
           
 String getErrorMessage()
           
 PackageDetailsKey getKey()
           
 ContentResponseResult getResult()
           
 void setDeploymentSteps(List<DeployPackageStep> deploymentSteps)
           
 void setErrorMessage(String errorMessage)
           
 void setResult(ContentResponseResult result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployIndividualPackageResponse

public DeployIndividualPackageResponse(PackageDetailsKey key)

DeployIndividualPackageResponse

public DeployIndividualPackageResponse(PackageDetailsKey key,
                                       ContentResponseResult result)
Method Detail

getKey

public PackageDetailsKey getKey()

getResult

public ContentResponseResult getResult()

setResult

public void setResult(ContentResponseResult result)

getErrorMessage

public String getErrorMessage()

setErrorMessage

public void setErrorMessage(String errorMessage)

getDeploymentSteps

public List<DeployPackageStep> getDeploymentSteps()

setDeploymentSteps

public void setDeploymentSteps(List<DeployPackageStep> deploymentSteps)

addDeploymentStep

public void addDeploymentStep(DeployPackageStep step)


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