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
ConstructorDescriptionAuditLogMessage
(@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 TypeMethodDescriptionint
boolean
@Nullable String
@NotNull Date
getDate()
@Nullable String
@NotNull String
@NotNull String
@NotNull Long
@Nullable String
int
hashCode()
void
setChildId
(String childId) void
setEntityId
(String planKey) protected void
setEntityType
(AuditLogEntityType entityType) protected void
setFieldHeader
(String fieldHeader) void
setFieldType
(AuditLogEntityType fieldType) protected void
setMessage
(String message) protected void
setMessageType
(String messageType) protected void
setNewValue
(String newValue) protected void
setOldValue
(String oldValue) protected void
setTimestamp
(Long timestamp) protected void
setUsername
(String username) toString()
Methods inherited from class com.atlassian.bamboo.hibernate.HibernateEntityObject
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.BambooIdProvider
getId
Methods 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:
getTimestamp
in interfaceAuditLogEntry
-
getDate
-
setTimestamp
-
getEntityId
- Specified by:
getEntityId
in interfaceAuditLogEntry
-
setEntityId
-
getChildId
- Specified by:
getChildId
in interfaceAuditLogEntry
-
setChildId
-
getMessageType
- Specified by:
getMessageType
in interfaceAuditLogEntry
-
setMessageType
-
getMessage
- Specified by:
getMessage
in interfaceAuditLogEntry
-
setMessage
-
getOldValue
- Specified by:
getOldValue
in interfaceAuditLogEntry
-
setOldValue
-
getNewValue
- Specified by:
getNewValue
in interfaceAuditLogEntry
-
setNewValue
-
getUsername
- Specified by:
getUsername
in interfaceAuditLogEntry
-
setUsername
-
getFieldHeader
- Specified by:
getFieldHeader
in interfaceAuditLogEntry
-
setFieldHeader
-
getEntityType
- Specified by:
getEntityType
in interfaceAuditLogEntry
-
setEntityType
-
getFieldType
- Specified by:
getFieldType
in interfaceAuditLogEntry
-
setFieldType
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
equals
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
compareTo
-
toString
-