Package com.atlassian.bamboo.persister
Class AuditLogMessage
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.hibernate.HibernateEntityObject
com.atlassian.bamboo.persister.AuditLogMessage
- All Implemented Interfaces:
BambooIdProvider,BambooObject,AuditLogEntry,Cloneable
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.persister.AuditLogEntry
TYPE_CONFIG_CHANGE, TYPE_FIELD_CHANGE -
Constructor Summary
ConstructorsConstructorDescriptionAuditLogMessage(@Nullable String username, @NotNull Date timestamp, @Nullable AuditLogEntityType entityType, @Nullable String entityId, @Nullable String childId, @Nullable AuditLogEntity field, @NotNull String messageType, @NotNull String message, @Nullable String oldValue, @Nullable String newValue) AuditLogMessage(@Nullable String username, @NotNull Date timestamp, @Nullable String planKey, @Nullable AuditLogEntity entity, @NotNull String messageType, @NotNull String message, @Nullable String oldValue, @Nullable String newValue) Deprecated.since 6.7.0 -
Method Summary
Modifier and TypeMethodDescriptionintboolean@Nullable String@NotNull DategetDate()@Nullable String@NotNull String@NotNull String@NotNull Long@Nullable StringinthashCode()voidsetChildId(String childId) voidsetEntityId(String planKey) protected voidsetEntityType(AuditLogEntityType entityType) protected voidsetFieldHeader(String fieldHeader) voidsetFieldType(AuditLogEntityType fieldType) protected voidsetMessage(String message) protected voidsetMessageType(String messageType) protected voidsetNewValue(String newValue) protected voidsetOldValue(String oldValue) protected voidsetTimestamp(Long timestamp) protected voidsetUsername(String username) toString()Methods inherited from class com.atlassian.bamboo.hibernate.HibernateEntityObject
getId, setIdMethods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Constructor Details
-
AuditLogMessage
public AuditLogMessage() -
AuditLogMessage
@Deprecated public AuditLogMessage(@Nullable @Nullable String username, @NotNull @NotNull Date timestamp, @Nullable @Nullable String planKey, @Nullable @Nullable AuditLogEntity entity, @NotNull @NotNull String messageType, @NotNull @NotNull String message, @Nullable @Nullable String oldValue, @Nullable @Nullable String newValue) Deprecated.since 6.7.0 -
AuditLogMessage
public AuditLogMessage(@Nullable @Nullable String username, @NotNull @NotNull Date timestamp, @Nullable @Nullable AuditLogEntityType entityType, @Nullable @Nullable String entityId, @Nullable @Nullable String childId, @Nullable @Nullable AuditLogEntity field, @NotNull @NotNull String messageType, @NotNull @NotNull String message, @Nullable @Nullable String oldValue, @Nullable @Nullable String newValue)
-
-
Method Details
-
getTimestamp
- Specified by:
getTimestampin interfaceAuditLogEntry
-
getDate
-
setTimestamp
-
getEntityId
- Specified by:
getEntityIdin interfaceAuditLogEntry
-
setEntityId
-
getChildId
- Specified by:
getChildIdin interfaceAuditLogEntry
-
setChildId
-
getMessageType
- Specified by:
getMessageTypein interfaceAuditLogEntry
-
setMessageType
-
getMessage
- Specified by:
getMessagein interfaceAuditLogEntry
-
setMessage
-
getOldValue
- Specified by:
getOldValuein interfaceAuditLogEntry
-
setOldValue
-
getNewValue
- Specified by:
getNewValuein interfaceAuditLogEntry
-
setNewValue
-
getUsername
- Specified by:
getUsernamein interfaceAuditLogEntry
-
setUsername
-
getFieldHeader
- Specified by:
getFieldHeaderin interfaceAuditLogEntry
-
setFieldHeader
-
getEntityType
- Specified by:
getEntityTypein interfaceAuditLogEntry
-
setEntityType
-
getFieldType
- Specified by:
getFieldTypein interfaceAuditLogEntry
-
setFieldType
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.atlassian.core.bean.EntityObject
-
equals
- Overrides:
equalsin classcom.atlassian.core.bean.EntityObject
-
compareTo
-
toString
-