com.atlassian.bamboo.persister
Class AuditLogMessage
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.persister.AuditLogMessage
- All Implemented Interfaces:
- BambooObject, AuditLogEntry, java.lang.Cloneable
public class AuditLogMessage
- extends BambooEntityObject
- implements AuditLogEntry
Constructor Summary |
AuditLogMessage()
|
AuditLogMessage(java.lang.String username,
java.util.Date timestamp,
java.lang.String planKey,
java.lang.String taskHeader,
java.lang.String messageType,
java.lang.String message,
java.lang.String oldValue,
java.lang.String newValue)
|
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
AuditLogMessage
public AuditLogMessage()
AuditLogMessage
public AuditLogMessage(@Nullable
java.lang.String username,
@NotNull
java.util.Date timestamp,
@Nullable
java.lang.String planKey,
@Nullable
java.lang.String taskHeader,
@NotNull
java.lang.String messageType,
@NotNull
java.lang.String message,
@Nullable
java.lang.String oldValue,
@Nullable
java.lang.String newValue)
getTimestamp
@NotNull
public java.lang.Long getTimestamp()
- Specified by:
getTimestamp
in interface AuditLogEntry
getDate
@NotNull
public java.util.Date getDate()
setTimestamp
protected void setTimestamp(java.lang.Long timestamp)
getPlanKey
@Nullable
public java.lang.String getPlanKey()
- Specified by:
getPlanKey
in interface AuditLogEntry
setPlanKey
public void setPlanKey(java.lang.String planKey)
getJobKey
@Nullable
public java.lang.String getJobKey()
- Specified by:
getJobKey
in interface AuditLogEntry
setJobKey
public void setJobKey(java.lang.String jobKey)
getMessageType
@NotNull
public java.lang.String getMessageType()
- Specified by:
getMessageType
in interface AuditLogEntry
setMessageType
protected void setMessageType(java.lang.String messageType)
getMessage
@NotNull
public java.lang.String getMessage()
- Specified by:
getMessage
in interface AuditLogEntry
setMessage
protected void setMessage(java.lang.String message)
getOldValue
public java.lang.String getOldValue()
- Specified by:
getOldValue
in interface AuditLogEntry
setOldValue
protected void setOldValue(java.lang.String oldValue)
getNewValue
public java.lang.String getNewValue()
- Specified by:
getNewValue
in interface AuditLogEntry
setNewValue
protected void setNewValue(java.lang.String newValue)
getUsername
@Nullable
public java.lang.String getUsername()
- Specified by:
getUsername
in interface AuditLogEntry
setUsername
protected void setUsername(java.lang.String username)
getTaskHeader
public java.lang.String getTaskHeader()
- Specified by:
getTaskHeader
in interface AuditLogEntry
setTaskHeader
protected void setTaskHeader(java.lang.String taskHeader)
hashCode
public int hashCode()
- Overrides:
hashCode
in class com.atlassian.core.bean.EntityObject
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class com.atlassian.core.bean.EntityObject
compareTo
public int compareTo(java.lang.Object obj)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2011 Atlassian. All Rights Reserved.