org.rhq.core.domain.bundle
Class BundleResourceDeploymentHistory

java.lang.Object
  extended by org.rhq.core.domain.bundle.BundleResourceDeploymentHistory
All Implemented Interfaces:
Serializable

public class BundleResourceDeploymentHistory
extends Object
implements Serializable

This is a many-to-one entity that provides audit capability for a bundle deployment (a bundle-platform pairing).

See Also:
Serialized Form

Nested Class Summary
static class BundleResourceDeploymentHistory.Category
           
static class BundleResourceDeploymentHistory.Status
           
 
Field Summary
static String QUERY_DELETE_BY_RESOURCES
           
static String QUERY_FIND_ALL
           
protected  String subjectName
           
 
Constructor Summary
protected BundleResourceDeploymentHistory()
           
  BundleResourceDeploymentHistory(String subjectName, String action, String info, BundleResourceDeploymentHistory.Category category, BundleResourceDeploymentHistory.Status status, String message, String attachment)
           
 
Method Summary
 String getAction()
           
 String getAttachment()
           
 Long getAuditTime()
           
 BundleResourceDeploymentHistory.Category getCategory()
           
 int getId()
           
 String getInfo()
           
 String getMessage()
           
 BundleResourceDeployment getResourceDeployment()
           
 BundleResourceDeploymentHistory.Status getStatus()
           
 String getSubjectName()
           
 void setAction(String action)
           
 void setAttachment(String attachment)
           
 void setAuditTime(Long auditTime)
           
 void setCategory(BundleResourceDeploymentHistory.Category category)
           
 void setId(int id)
           
 void setInfo(String info)
           
 void setMessage(String message)
           
 void setResourceDeployment(BundleResourceDeployment resourceDeployment)
           
 void setStatus(BundleResourceDeploymentHistory.Status status)
           
 void setSubjectName(String subjectName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

QUERY_DELETE_BY_RESOURCES

public static final String QUERY_DELETE_BY_RESOURCES
See Also:
Constant Field Values

QUERY_FIND_ALL

public static final String QUERY_FIND_ALL
See Also:
Constant Field Values

subjectName

protected String subjectName
Constructor Detail

BundleResourceDeploymentHistory

protected BundleResourceDeploymentHistory()

BundleResourceDeploymentHistory

public BundleResourceDeploymentHistory(String subjectName,
                                       String action,
                                       String info,
                                       BundleResourceDeploymentHistory.Category category,
                                       BundleResourceDeploymentHistory.Status status,
                                       String message,
                                       String attachment)
Method Detail

getId

public int getId()

setId

public void setId(int id)

getSubjectName

public String getSubjectName()

setSubjectName

public void setSubjectName(String subjectName)

getAuditTime

public Long getAuditTime()

setAuditTime

public void setAuditTime(Long auditTime)

getAction

public String getAction()

setAction

public void setAction(String action)

getInfo

public String getInfo()

setInfo

public void setInfo(String info)

getCategory

public BundleResourceDeploymentHistory.Category getCategory()

setCategory

public void setCategory(BundleResourceDeploymentHistory.Category category)

getStatus

public BundleResourceDeploymentHistory.Status getStatus()

setStatus

public void setStatus(BundleResourceDeploymentHistory.Status status)

getMessage

public String getMessage()

setMessage

public void setMessage(String message)

getAttachment

public String getAttachment()

setAttachment

public void setAttachment(String attachment)

getResourceDeployment

public BundleResourceDeployment getResourceDeployment()

setResourceDeployment

public void setResourceDeployment(BundleResourceDeployment resourceDeployment)

toString

public String toString()
Overrides:
toString in class Object


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