org.rhq.core.domain.bundle
Class BundleResourceDeployment
java.lang.Object
org.rhq.core.domain.bundle.BundleResourceDeployment
- All Implemented Interfaces:
- Serializable
public class BundleResourceDeployment
- extends Object
- implements Serializable
This is the many-to-many entity that correlates a bundle deployment with a (platform) resource. It keeps
information about the currently installed bundle and assists with enforcing the deployment's policy on the
deployed bundle. It also provides the anchor for audit history related to the deployment.
- See Also:
- Serialized Form
QUERY_DELETE_BY_RESOURCES
public static final String QUERY_DELETE_BY_RESOURCES
- See Also:
- Constant Field Values
QUERY_FIND_BY_DEPLOYMENT_ID_NO_FETCH
public static final String QUERY_FIND_BY_DEPLOYMENT_ID_NO_FETCH
- See Also:
- Constant Field Values
QUERY_FIND_BY_RESOURCE_ID_NO_FETCH
public static final String QUERY_FIND_BY_RESOURCE_ID_NO_FETCH
- See Also:
- Constant Field Values
status
protected BundleDeploymentStatus status
BundleResourceDeployment
protected BundleResourceDeployment()
BundleResourceDeployment
public BundleResourceDeployment(BundleDeployment bundleDeployment,
Resource resource)
getId
public int getId()
setId
public void setId(int id)
getResource
public Resource getResource()
setResource
public void setResource(Resource resource)
getCtime
public Long getCtime()
getBundleDeployment
public BundleDeployment getBundleDeployment()
setBundleDeployment
public void setBundleDeployment(BundleDeployment bundleDeployment)
getBundleResourceDeploymentHistories
public List<BundleResourceDeploymentHistory> getBundleResourceDeploymentHistories()
setBundleResourceDeploymentHistories
public void setBundleResourceDeploymentHistories(List<BundleResourceDeploymentHistory> histories)
addBundleResourceDeploymentHistory
public void addBundleResourceDeploymentHistory(BundleResourceDeploymentHistory history)
getStatus
public BundleDeploymentStatus getStatus()
- The status of the request which indicates that the request is either still in progress, or it has completed and
either succeeded or failed.
- Returns:
- the request status
setStatus
public void setStatus(BundleDeploymentStatus status)
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.