com.atlassian.bamboo.persister
Class AuditLogMessage

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.persister.AuditLogMessage
All Implemented Interfaces:
BambooObject, AuditLogEntry, java.lang.Cloneable

public class AuditLogMessage
extends BambooEntityObject
implements AuditLogEntry


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Fields inherited from interface com.atlassian.bamboo.persister.AuditLogEntry
TYPE_CONFIG_CHANGE, TYPE_FIELD_CHANGE
 
Constructor Summary
AuditLogMessage()
           
AuditLogMessage(AuditLogEntry auditLogEntry, PlanKey planKey)
           
AuditLogMessage(java.lang.String username, java.util.Date timestamp, java.lang.String planKey, java.lang.String messageType, java.lang.String message, java.lang.String oldValue, java.lang.String newValue)
           
 
Method Summary
 int compareTo(java.lang.Object obj)
           
 boolean equals(java.lang.Object o)
           
 java.util.Date getDate()
           
 java.lang.String getMessage()
           
 java.lang.String getMessageType()
           
 java.lang.String getNewValue()
           
 java.lang.String getOldValue()
           
 java.lang.String getPlanKey()
           
 java.lang.Long getTimestamp()
           
 java.lang.String getUsername()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
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
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 

Constructor Detail

AuditLogMessage

public AuditLogMessage()

AuditLogMessage

public AuditLogMessage(AuditLogEntry auditLogEntry,
                       PlanKey planKey)

AuditLogMessage

public AuditLogMessage(@Nullable
                       java.lang.String username,
                       @NotNull
                       java.util.Date timestamp,
                       @Nullable
                       java.lang.String planKey,
                       @NotNull
                       java.lang.String messageType,
                       @NotNull
                       java.lang.String message,
                       @Nullable
                       java.lang.String oldValue,
                       @Nullable
                       java.lang.String newValue)
Method Detail

getTimestamp

@NotNull
public java.lang.Long getTimestamp()
Specified by:
getTimestamp in interface AuditLogEntry

getDate

@NotNull
public java.util.Date getDate()

getPlanKey

@Nullable
public java.lang.String getPlanKey()
Specified by:
getPlanKey in interface AuditLogEntry

getMessageType

@NotNull
public java.lang.String getMessageType()
Specified by:
getMessageType in interface AuditLogEntry

getMessage

@NotNull
public java.lang.String getMessage()
Specified by:
getMessage in interface AuditLogEntry

getUsername

@Nullable
public java.lang.String getUsername()
Specified by:
getUsername in interface AuditLogEntry

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

getOldValue

public java.lang.String getOldValue()
Specified by:
getOldValue in interface AuditLogEntry

getNewValue

public java.lang.String getNewValue()
Specified by:
getNewValue in interface AuditLogEntry


Copyright © 2010 Atlassian. All Rights Reserved.